FLVPlayback VideoEvent.COMPLETE triggers before the video reaches the end, and the video stops playing

import fl.video.*;
var player:FLVPlayback = new FLVPlayback();
player.skin = "someSkin.swf";
player.source = "http://someDomian/some.flv";

Here’s the code. I just load and play some flv from server, and when I test it via Flash (just press ctrl+enter), the video will stop at about 90% of the video and dispatch the COMPLETE event. Any one knows why? Try it again, the time where the video stops is the same, just about 90%. I searched it, and I tried to change playheadUpdateInterval of player, set totalTime explictly, or set bufferTime longer. All those solutions make no difference. I tried to load another movie from the same server, same problem. Any chances something wrong with the server?

EDIT: I sent the swf to someone else, and the video plays as it’s supposed to do. Then another guy, and the same result. So, I guess there’s something wrong with my settings? Is there some setting will cause this strange action? But when I tried it on my laptop, the video stops unexpectedly. Why this seems to work on everyone’s computer except mine? šŸ™ HELP ME!

before CLOSE: Eventually my colleagues found the strange reason causes this problem, if changing the publish setting to FP10 & 10.1 or FP9, it’ll work as we expect. FP10.2 and up, videos on that server seem not have the talent to find their ending. The videos are H.264/AAC, if I convert them to VP60/MP3, all the FP versions will work. Since I can’t modify the setting about the codecs, I’ll just change the publish setting and leave the codecs thing alone. Although I’m just frustrated by this, if you see this and so lucky that you happen to know the codecs thing why the “early complete” appears, please please tell me.

Layout issue after video reaches its end

Am having a layout issue after the video reaches its end, am using trigger.io. Basically my play command is, forge.media.videoPlay(url, function () { }, function (error) { } ); The video plays nice,

Video streaming stops buffering playing in iPad

I am playing a video from URL in my MPMovie player but after some time buffering stops and do not start again. Code to play movie is given below NSURL *fileURL = [NSURL URLWithString:strURL]; //movieP

Playing mp4 video using FLVPlayback module?

I link my mp4 video directly using video.source = my.mp4 in AS3 and the link is not broken, but then player keeps on loading forever. Any ideas? TA

Video stops buffering and stops playing after few seconds

I have some videos on my webpage. They are rendering using swfobject. The problem is when I start to play one of the video – it only plays till the video has been buffered initially and stops (at the

Fire event when vimeo video stops playing?

I was just wondering if it was possible to fire an event once a vimeo video has finished playing? Currently I have a Vimeo embed in an overlay, that I want to remove once the video has stopped. Hope t

Flash FLVPlayBack Video goes FULLSCREEN instead of the Application

I am working on a Flash App and its a presentation. I want the App to go full screen but there is an FLVPlayBack component playing a video now instead of the App the StageDisplayState.FULL_SCREEN turn

Close c# application when video stops playing

I am trying to figure out how to close my application when the video that the form plays stops playing. Currently, the user clicks a button to bring up Form2. The control for the video is set to force

Playing video in full screen when user rotates to landscape and then programmatically rotating back when video stops

I have a requirement where the interface, which contains a video, is portrait only but when the user rotates to landscape the video goes to full screen and starts playing then when the video reaches t

JMF: How to trigger event when player reaches certain time playing a video?

How to code in Java (with Java Media Framework): When the player reaches a certain time playing a video clip (for example, reaching 3.124 minutes in reproduction time), it generates an event?

Stop video playing at the end of the movie XNA

I’m playing a .wmv movie in XNA. I have no problem in playing it but I can’t seem to detect if the movie reach its end and stop the movie from playing. Here’s how I do it: Video video; VideoPlayer pla


The problem could be with the .FLV file, sometimes there could be problems while encoding any video file(AVI,MOV,MP4,3GP,WMV) in to .FLV format that results in skipped frames. Try your code with some other .FLV file if that works good then you need to re-encode your FLV file.

You can also try capturing the video Complete Event by tracking the Video Playback Progress.

import fl.video.*;

var player:FLVPlayback = new FLVPlayback();
player.skin = "someSkin.swf";
player.source = "http://someDomian/some.flv";

addEventListener(Event.ENTER_FRAME, enterFrameHandler);

function enterFrameHandler(event:Event):void {


      //On Video Playback Complete Actions here