google-code-export / flowplayer-core

Automatically exported from code.google.com/p/flowplayer-core
2 stars 0 forks source link

onBegin clip event fired multiple times and in wrong places #629

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to http://post.lnk.lt/flow/gs2.html
2. Start the clip playing and click Pause.
3. Click Resume.

What is the expected output? What do you see instead?
onBegin event is fired during resume. It should not. onBegin event is fired 
twice after seeking. It should not. Unless I misunderstood something in 
documentation, onBegin event should fire once, when the clip starts to play.

Original issue reported on code.google.com by vil...@lnk.lt on 24 Aug 2012 at 11:12

GoogleCodeExporter commented 9 years ago
Hi im working on a solution which i believe will also help fix #627 , are you 
sure its between pause and resume and not after seeking ? 

Original comment by electrot...@gmail.com on 25 Aug 2012 at 8:40

GoogleCodeExporter commented 9 years ago
Ahh you are right rtmp dispatches play start events after resuming. This is why 
onBegin is dispatched. 

Original comment by electrot...@gmail.com on 25 Aug 2012 at 8:41

GoogleCodeExporter commented 9 years ago
Using Flowplayer version from the fix to #627 onBegin event works correctly.

Original comment by vil...@lnk.lt on 26 Aug 2012 at 1:07

GoogleCodeExporter commented 9 years ago
ok thanks, i'll close this with 627 as it's related to 627 which is being 
completed ;)

Original comment by electrot...@gmail.com on 3 Sep 2012 at 10:06

GoogleCodeExporter commented 9 years ago
The bug came back in 3.2.15. I see multiple onBegin events fired again.

Original comment by vil...@lnk.lt on 10 Sep 2012 at 10:16

GoogleCodeExporter commented 9 years ago
Will this gets fixed? Or should I rereport the bug to github?

Original comment by vil...@lnk.lt on 3 Oct 2012 at 12:37