Not sure what i'm doing wrong... can...

User 395486 Photo


Ambassador
29 posts

Hi everyone!

I used Coffee Cup's Web Video Player to convert a .mov file to a flash file. I plugged the code into my web page and find that the trailer is not coming up. The 2 graphics I entered come up fine but not the video. If anyone can review the code and see where I went wrong, I would be much obliged!

Thank you for taking the time to help me! I really appreciate the help! :)

Here's the code.

<body>
<table width="600" border="0" align="center">
<tr>
<td width="137">&nbsp;</td>
<td width="325" rowspan="2"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','325','height','293','align','middle','title','alter trailer','src','/trailers/alter/altertrailer','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/trailers/alter/altertrailer' ); //end AC code
</script><noscript><script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">var so = new SWFObject("altertrailer.swf","", "350", "289", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.write("CC2687321");</script> </noscript></td>
<td width="124">&nbsp;</td>
</tr>
<tr>
<td><img src="/trailers/alter/side1.jpg" alt="side1filler" width="137" height="256" /></td>
<td><img src="/trailers/alter/side1.jpg" alt="side1filler" width="137" height="256" /></td>
</tr>
</table>
</body>
</html>

User 103173 Photo


VP of Software Development
0 posts

What is the url to your video player?
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 395486 Photo


Ambassador
29 posts

I should probably also mention that this site is built on a Joomla platform.
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

You said you are using the CC Web Video player? Your code doesn't look much like that of the CC WVP. Here is a sample of what it should look like:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="275" height="227" id="CC8211538" align="middle">
<param name="movie" value="myvideoplayer.swf"/>
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="myvideoplayer.swf" quality="high" bgcolor="#ffffff" width="275" height="227"
name="CoffeeCup" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 463058 Photo


Ambassador
1,086 posts
Online Now

Inger Eik wrote:
You said you are using the CC Web Video player?


Just for converting the .mov file. The insertion was done with Dreamweaver which created the code.
User 463058 Photo


Ambassador
1,086 posts
Online Now

Kellie Etterman wrote:
I used Coffee Cup's Web Video Player to convert a .mov file to a flash file. I plugged the code into my web page and find that the trailer is not coming up. The 2 graphics I entered come up fine but not the video. If anyone can review the code and see where I went wrong, I would be much obliged!


If you look at your code you will see that while the page has a doctype, head and body sections, you also have a complete doctype, head and body embedded within the body section of your code (lines 77 to 111). Remove that and try reinserting the missing pics and vid. Also, the file "/home/Scripts/AC_RunActiveContent.js" does not exist. The video will not play without this javascript file unless the visitor has javascript turned off.
User 463058 Photo


Ambassador
1,086 posts
Online Now

Looking at your code again, I noticed another oddity. Your noscript tags are actually surrounding javascript code for use with swfobject.js.
User 395486 Photo


Ambassador
29 posts

I took out the formatting that I tried to incorporate the first time and my code should look like this now:

<script type="text/javascript" src="../trailers/alter/swfobject.js"></script><div id="CC2687321">Form Object</div><script type="text/javascript">var so = new SWFObject("../trailers/alter/altertrailer.swf","", "350", "289", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.write("CC2687321");</script>

Still no video. :(

I really appreciate your help! :)
User 103173 Photo


VP of Software Development
0 posts

This really is not a valid path: /home/../trailers/alter/swfobject.js

Basically you are saying to go to /home and then go to /trailers

If you go to http://www.tiptoeproductionsinc.com/tra … ailer.html however, everything works.

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.