valkovnet / f4player

Automatically exported from code.google.com/p/f4player
0 stars 0 forks source link

Replay don't work #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When a video finishes and click on the replay button does nothing

Original issue reported on code.google.com by yosh...@gmail.com on 8 Feb 2011 at 10:38

GoogleCodeExporter commented 9 years ago
I have the same problem. Calling player.Stop() from stopEvent() in mySkin.as 
seems to cause the problem. The stopEvent calls on a loop. I had some success 
changing stopEvent() to player.Seek(1); player.Pause(); Still can't get it to 
work 100% of the time

Original comment by eric.p.s...@gmail.com on 18 Feb 2011 at 2:35

GoogleCodeExporter commented 9 years ago
Can someone compare the changes with the older alpha to take a look, what there 
happend, and why this is an issue now ?

I have the same issue, and the classic skin don´t works with the beta. The 
courious thing is, that on some browsers pressing more times at the play button 
again really starts the video again.

If needed, I can mail the alpha.

Original comment by do...@nexgo.de on 25 Mar 2011 at 4:21

GoogleCodeExporter commented 9 years ago
I found this workaround:

- declare var stopped:Boolean = true; inside the skin class
- on "NetStream.Play.Start" event add this line: stopped = false;
- at the beginning of stopEvent function add: if ( stopped ) return; stopped = 
true;

That seems to work for me. Hope it's helpful for anyone else.

Original comment by conta...@guidokritz.com on 14 Jun 2011 at 9:17

Attachments:

GoogleCodeExporter commented 9 years ago
Can someone post a compiled version of this file ?

Thanck by adavance !

Original comment by super.ca...@gmail.com on 29 Aug 2011 at 3:50

GoogleCodeExporter commented 9 years ago
great, thanks for the file, works for me.
And I attached the compiled mySkin.swf

Original comment by petertro...@gmail.com on 14 Oct 2011 at 1:15

Attachments: