Not sure what i'm doing wrong... can anyone help?

Home » Forums » Website Design and Development » Not sure what i'm doing wrong... can anyone help?


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>

http://img.photobucket.com/albums/v627/kjetterman/MySignature2.png


VP of Product Development
25,042 posts
Online Now

What is the url to your video player? ~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
Scott A. Swedorski - VP of Product Development
CoffeeCup Software Inc.
Phone: 678.495.3480

"Want to update your website from anywhere? Check out our new free service, S-Drive Streams. Visit http://www.coffeecup.com/sdrive for more information."


Ambassador
29 posts

I should probably also mention that this site is built on a Joomla platform. http://img.photobucket.com/albums/v627/kjetterman/MySignature2.png


Senior Advisor
6,699 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
http://www.eikweb.com
http://www.horgenhonning.net/
http://www.norwayroots.com
http://www.johnsflats.com


Ambassador
1,058 posts

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.


Ambassador
1,058 posts

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.


Ambassador
1,058 posts

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


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! :) http://img.photobucket.com/albums/v627/kjetterman/MySignature2.png


VP of Product Development
25,042 posts
Online Now

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.

~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
Scott A. Swedorski - VP of Product Development
CoffeeCup Software Inc.
Phone: 678.495.3480

"Want to update your website from anywhere? Check out our new free service, S-Drive Streams. Visit http://www.coffeecup.com/sdrive for more information."

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.