alateos
asked on
Coldfusion not running swf file
I have some code that works fine in an html file. Rename it to cfml and it won't work. Can someone tell me why? Below is the code.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>video_pod</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae 6d-11cf-96 b8-4445535 40000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="360"
height="240" id="video_pod" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="video_pod.swf" /><param name="quality" value="high" /><param name="bgcolor"
value="#ffffff" /><embed src="video_pod.swf" quality="high" bgcolor="#ffffff" width="360" height="240"
name="video_pod" align="middle" allowScriptAccess="sameDom ain" type="application/x-shockw ave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>video_pod</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="360"
height="240" id="video_pod" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="video_pod.swf" /><param name="quality" value="high" /><param name="bgcolor"
value="#ffffff" /><embed src="video_pod.swf" quality="high" bgcolor="#ffffff" width="360" height="240"
name="video_pod" align="middle" allowScriptAccess="sameDom
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
.cfml is not a coldfusion extensions, well not as far as i know. a couldfusion page extension is .cfm
try with the extension .cfm and it should work.
ASKER
that's not the issue... the problem is that the control is there but it says "click here to activate control" and never does anything.
ASKER
Also note that when i double click on the html file, it runs just fine. Only when I access it through my web server does it give me the weird stuff.
ASKER
Nevermind I figured it out... all the files should've been in the same directory.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.