View Single Post
  #1 (permalink)  
Old Mar 5th, 2008, 14:31
mrb83sxt02 mrb83sxt02 is offline
New Member
Join Date: Feb 2007
Location: Michigan
Age: 25
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
I cant get this flash video to play

Hey Guys,

I too am a flash newbie. I had a flash video on an old version of a website using tables, but we recently switched it to a CSS design. On the site www.dryerventwizard.com/ on the home page, it should be playing a flash video, but it doesnt even show anything about it. When you look at the code, it looks like this:

<script language="JavaScript" type="text/javascript">
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
var oeTags = '<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="320" height="282"'
+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="dvw_mov.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />'
+ '<embed src="dvw_mov.swf" quality="high" bgcolor="#ffffff" '
+ 'width="320" height="282" name="dvw_mov" align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';
document.write(oeTags); // embed the flash movie
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be placed here.'
+ 'This content requires the Macromedia Flash Player.'
+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
document.write(alternateContent); // insert non-flash content
}
</script>
<noscript>
// Provide alternate content for browsers that do not support scripting
// or for those that have scripting disabled.
Alternate HTML content should be placed here. This content requires the Macromedia Flash Player.
<a href="http://www.macromedia.com/go/getflash/">Get Flash</a>
</noscript>

I cannot figure this out at all, Ive read a few books and still cannot find anything on getting this to work any suggestions?

Thanks everyone
- Matt
Reply With Quote