PDA

View Full Version : FLV won't play


shatton
10-08-2005, 02:14 AM
I have rendered flv files in both Riva and Sorenson Squeeze. Neither programs could give me a version that would play properly when either loading it with this code:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("babies.flv");

::::OR::::

just playing it in Flash PLayer 8

I could, however, view the flv with Riva flv Viewer.

What is wrong with my flv and why wont it play in flash player or load into my swf? This post is bound to overlap with another but from what I checked I couldn't find a thread that matched my needs. Please point me to any info anyone has, thanks!!

:confused: shatton

shatton
10-08-2005, 04:10 AM
if someone could at least tell me that they have made some .flvs that work fine and play in FLash Player that could be helpful...could the above problem have something to do with DirectX or ActiveX or some other X? :eek:

shatton
10-08-2005, 04:10 PM
Hey I fixed my problem and also realized I should have posted this thread in the Flash 8 section. If you get a problem where your flvs aren't playing, just make sure your Publish Settings are set to Action Script 2.0 and Flash 8. Gosh what a dumb mistake I made!

shatton
10-08-2005, 06:43 PM
My flv is not streaming again. Despite the fact I have copied and pasted everything in the right location onto my server, the flv just wont play! The swf plays fine from my harddrive, shows the streaming file, but not when i play it from the server...i just get white again. Everything is in the proper location and I have copied all the files I need. What could be the problem..?

jdivis
10-21-2005, 08:21 PM
Register the Mime type on IIS with video/x-flv

edtsch
09-04-2008, 08:56 PM
Quick update, in case others come here looking for this info: IIS 6 needs the .flv MIME type set to "flv-application/octet-stream"

http://www.afcomponents.com/forum/viewtopic.php?t=697