Re: Having some trouble with setPlayPosition

17 views
Skip to first unread message

Gero

unread,
Feb 11, 2013, 2:31:13 AM2/11/13
to bst-p...@googlegroups.com
Some players accept the setPosition() command only when stopped or paused while others will only accept it when playing.
I had to take special care in my application for this fact but now it works with all players.

Gero

Am Samstag, 9. Februar 2013 19:30:58 UTC+1 schrieb Ryan:
Hi,

I am working with a YoutubePlayer am implementing a seek bar and i'm noticing a couple of things.

1) no LoadingProgressEvent is ever being fired, so my loading bar never fills up.
2) When i try to seek, no matter what value I pass in, it will always take me to the end of the video.  It will then fire a PlayStateFinished event.
(i also tried to call setPlayPosition with a debug button that always seeks to 10000ms in.  Still no luck)

Any ideas?  Maybe my implementation is incorrect.  Great work on the player by the way.

Ryan

Reply all
Reply to author
Forward
0 new messages