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

seek not work #50

Closed
mycybyby opened this issue Aug 26, 2014 · 2 comments
Closed

seek not work #50

mycybyby opened this issue Aug 26, 2014 · 2 comments

Comments

@mycybyby
Copy link

when a video is play to end,state is idle.then i load another video,play and seek to a position,it just play;
but if a video is pause,state is paused,then i load another video,play and seek to a position,it work;
code like below:
videoPlayer.playerLoad("xxxx.m3u8");
videoPlayer.playerPause();
videoPlayer.playerPlay();
videoPlayer.playerSeek(9);
videoPlayer.playerResume();

BTW,can you add a method play(Number: startPosition) to chromelessplayer;

@mangui
Copy link
Owner

mangui commented Aug 26, 2014

Hi @mycybyby
if you want to play from a certain position, you just need to call _hls.stream.play(null, seek_position);
Cheers,
Mangui

@mycybyby
Copy link
Author

could you export this method to the chromelessPlayer.i am not familiar with flash development

@mangui mangui closed this as completed in ac12c29 Aug 29, 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