Video readyState always HAVE_ENOUGH_DATA after search
Hy,
I am trying to implement synchronous playback of two videos using HTML5. Therefore, when searching for one video, you should wait until the other is HAVE_ENOUGH_DATA before starting to play both videos.
Then currentTime = seekPosition;
I immediately pause both videos and check for readyState. All finished versions of both videos are HAVE_ENOUGH_Data, so I .play()
have both of them.
I would have thought .play()
both videos would start immediately afterwards , but sometimes they have to load for a few seconds before playing.
I'm testing this in Chrome so it seems like readyState is not being used after a search operation? Thanks for any ideas.
EDIT
Found this Bugreport http://code.google.com/p/chromium/issues/detail?id=73609 . It looks like the whole work of readistate / canplaythroug is very poorly implemented in Chrome. According to this post https://bugzilla.mozilla.org/show_bug.cgi?id=627153 the guys at Mozilla are more accurate at implementing it.
source to share
No one has answered this question yet
See similar questions:
or similar: