Hi all.
I have an swf that loads in an flv file. The video plays, but doesn't stop at the end. Have added a stop command at the end, but doesn't work Any help?
Cheers!
Printable View
Hi all.
I have an swf that loads in an flv file. The video plays, but doesn't stop at the end. Have added a stop command at the end, but doesn't work Any help?
Cheers!
Are you using the FLVPlayback component to play the video?
If so, you can control autoplay and autorewind down in the Properties Panel, under the "Parameters" tab.
If you are using NetStream to play the video, it will not loop unless you have set
so just remove that part.Code:ns.onStatus = function(info) {
if(info.code == "NetStream.Play.Stop") {
ns.seek(0);
ns.play();
}
}
Best wishes,
Video Man
Yeah, got it. I just had to go to the component inspector and set autorewind to 'false'
Cheers!