F4v has an invalid file structure on Firefox
Hi, i'm trying to play external videos using netStream.
My script work fine with .flv files, but with .f4v it doesn't work with Firefox (i've tried versions 3.6 and 4): I get NetStream.Play.FileStructureInvalid
F4v files was exported using Media Encoder from Premiere.
Here's a part of my code:
ncConnection = new NetConnection();
ncConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
ncConnection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
ncConnection.connect(null);
nsStream = new NetStream(ncConnection);
nsStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nsStream.client = this;
nsStream.bufferTime = BUFFER_TIME;
nsStream.play("http://www.domain.com/myVideo.f4v");
Does anybody know what causes this problem?
Thank you!