New Zenner
- Join Date:
- Jul 2012
- Posts:
- 53
- Plugin Contributions:
- 0
Ok, I am stumped after MUCH study and work to get this done, please help...
I am, like others in the past attempting to learn how to embed flash video in my main page.php html. We have installed ckeditor and I am using the url file path leading to /includes/templates/MYTEMPLATE/jscript/jscript_swfobject.js as the url in the flashplayer embedding popup in the WYSWYG editor AND by embedding the html code several different ways to get this to work and I am failing miserably. I have used SWFObject Generator 2.0 to create the .js file that is loaded in the jscript folder of my template. I have also made sure that the video I want to use is in my template/images folder and is a flv video. I am stumped at this point.
Can someone take a look at the codes I have here and tell me what I am doing wrong so I can better understand what I am doing? My results can be viewed at www.syntheticmotorsports.com
Here is the embedding code in the page right now that only gives me a "white box" where the video should be, no flash content substituted where it should be or anything. This is the code that the ckeditor is generating:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="movie" value="http://www.syntheticmotorsports.com/includes/templates/sms_template_1/jscript/jscript_swfobject.js" /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.syntheticmotorsports.com/includes/templates/sms_template_1/jscript/jscript_swfobject.js" type="application/x-shockwave-flash"></embed></object>
This is the coding from /includes/templates/MYTEMPLATE/jscript/jscript_swfobject.js file.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="http://www.syntheticmotorsports.com/includes/templates/sms_template_1/jscript/jscript_swfobject.js"></script> <script type="text/javascript"> swfobject.registerObject("", "9.0.0"); </script> </head> <body> <div> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="650" height="400" id="EFI Live" name="EFI Live Custom Tuning Now Available From Synthetic Motorsports" align="left"> <param name="movie" value="efilive.swf" /> <param name="play" value="true" /> <param name="loop" value="true" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="scale" value="noborder" /> <param name="wmode" value="transparent" /> <param name="seamlesstabbing" value="true" /> <param name="allowfullscreen" value="true" /> <param name="allownetworking" value="none" /> <param name="flashvars" value="http://www.syntheticmotorsports.com/includes/templates/sms_template_1/images/EFI_Live_Video.flv" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="efilive.swf" width="650" height="400" align="left"> <param name="play" value="true" /> <param name="loop" value="true" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="scale" value="noborder" /> <param name="wmode" value="transparent" /> <param name="seamlesstabbing" value="true" /> <param name="allowfullscreen" value="true" /> <param name="allownetworking" value="none" /> <param name="flashvars" value="http://www.syntheticmotorsports.com/includes/templates/sms_template_1/images/EFI_Live_Video.flv" /> <!--<![endif]--> <title></html><body> <h1><font color="#FFFF00"> ** REDACTED ****** LARGE AMOUNT OF HTML CODE REMOVED BY MODERATOR *** </p> <p> </p> <center><a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Viewing the Video Here Requires Adobe Flash player" width="112" height="33" /> </a></center> </body> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> </body>