Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on seek method #102

Closed
allphat opened this issue Nov 3, 2014 · 2 comments
Closed

Question on seek method #102

allphat opened this issue Nov 3, 2014 · 2 comments

Comments

@allphat
Copy link
Contributor

allphat commented Nov 3, 2014

hi,
I feel a bit confused by the seek method.

I ma currently streaming flac file from a server. playing works fine but I don't know how to implement the seek method.
I load my flac file via AV.Player.fromURL() method

then I just use the play() method.

Can I use something like :
myPlayr.seek(mydesiredTime)

?

Which object should I use?

Can anyone give me some clues ? ;)

@allphat
Copy link
Contributor Author

allphat commented Nov 6, 2014

Thanks for your answer.
In fact, I was already calling seek method the rihgt way.
I found that the seek method has not been implemented in flac.js. This is what causes my error :
See audiocogs/flac.js#8

But it works for a mp3 file.

@allphat allphat closed this as completed Nov 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants