Help - Search - Members - Calendar
Full Version: Video does not dispaly
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
genefalk
I want to put a .flv video on my web site so I copied this code from somewhere but the video does not display.

Where is wrong?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
This is the video. <p>

<object classid ="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase ="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width ="400"
height ="300"
id ="flashvideoplayer.swf"
align ="middle">

<param name ="allowScriptAccess"
value ="sameDomain">

<param name ="movie"
value ="http://www.mywebsite.com/flashvideoplayer.swf?flv = http://www.mywebsite.com/dark.flv">

<param name ="quality"
value ="high">

<param name ="bgcolor"
value ="#ffffff">

<embed src="http://www.mywebsite.com/flashvideoplayer.swf?flv=http://www.mywebsite.com/dark.flv"
quality ="high"
bgcolor ="#ffffff"
width ="400"
height ="300"
name ="flashvideoplayer.swf"
align ="middle"
allowScriptAccess ="sameDomain"
type ="application/x-shockwave-flash"
pluginspage ="http://www.macromedia.com/go/getflashplayer">
</object>

</body>
</html>
Frederiek
First of all, I had never heard of .flv file being able to play online, just .swf. But apparently, it can work. So, I wonder where you got that code from. Can you post the url to that?
pandy
I didn't know that either. I thought .flv was the master file, the one that can be edited, and that you had to create a .swf from that.
Frederiek
Yeah, me too. But I searched a little bit and found out that somehow it seems possible. I didn't really look into it, as I don't do Flash.

But, I wonder about the URLs in the snippet for the file. The domain name results elsewhere.

Besides, Flash has since 2005 been taken over by Adobe. So, even the Macromedia URLs need to be updated. Oh wait, there's still a macromedia site, with the Adobe logo.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.