javascript - Seek in flowplayer on page load -
i want seek flowplayer @ page load.
i have tried:
$(document).ready(function() { $f(0).seek(5); });
and
$(document).ready(function() { while(!$f(0).isloaded()) { $f(0).seek(5); } });
and
$(document).ready(function() { $f(0).onload(function() { $f(0).seek(5); }); });
and 1 gave result, while
$f(0).onload(function() { $f(0).seek(5); });
the last 1 moved pointer 5 seconds, , start right after. want stand there.
any suggestions?
official answer: http://flowplayer.org/forum/3/101287#post-101528
looks downvoted putting link, , understandable flowplayer has changed forum urls!
https://web.archive.org/web/20120629142246/http://flowplayer.org/forum/3/101287
here op
found old question on stack overflow... http://stackoverflow.com/questions/5034858/seek-in-flowplayer-on-page-load wondering official answer is? how seek on load?
and response
the onload event (of player) event seek clip. cannot seek onload. can seek once clip loaded , in play or pause state. move seek in onstart event of clip - assuming deploy via streaming server.
Comments
Post a Comment