Jump to content

Embeded flash not working


jp612

Recommended Posts

Hi,

 

I created a flash video (.swf) and tried to embed it in html. I got my dreamweaver CS4 to create it for me but when i visit it, i get told to install the newest version of flash even though i have it. I tested it on 2 pc's and all major web browsers

 

this is the main embed code:

div id="homepage-slideshow">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="50" height="50" id="FlashID" title="slideshow">
     <param name="movie" value="flash/homepage-slideshow.swf" />
     <param name="quality" value="high" />
     <param name="wmode" value="opaque" />
     <param name="swfversion" value="6.0.65.0" />
     <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
     <param name="expressinstall" value="../Scripts/expressInstall.swf" />
     <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
     <!--[if !IE]>-->
     <object type="application/x-shockwave-flash" data="flash/homepage-slideshow.swf" width="813" height="200">
       <!--<![endif]-->
       <param name="quality" value="high" />
       <param name="wmode" value="opaque" />
       <param name="swfversion" value="6.0.65.0" />
       <param name="expressinstall" value="../Scripts/expressInstall.swf" />
       <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
       <div>
         <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
         <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
       </div>
       <!--[if !IE]>-->
     </object>
     <!--<![endif]-->
</object>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
   </script>

 

 

this is the website:

www.debesdesign.com

 

its on the bottom of the homepage.

 

any ideas?

 

Thanks.

Edited by jp612
Link to comment
Share on other sites

If you created the Flash video yourself just Publish it in Flash. Go to the Publish settings first and under Formats check Flash and HTML then click Publish and Flash will create the .swf and .html page. Then just copy the embed code from the html page and put it into your page.

 

P.S. Run a spell check through your site, you have quite a few spelling mistakes. :blink:

Edited by virtual
Link to comment
Share on other sites

Urgh! I tried publishing it and it worked in the html file but when i put the code into my website it didnt work. However it does work when i open my include html file (homepage.html) in a browser.

 

Its as if flash cant deal with my php in the site. or some css is annoying it.

Link to comment
Share on other sites

seems like it is a path problem. If you write:

param name="movie" value="homepage-slideshow.swf" /> , it means that html file and slideshow should be in a same folder. Just to test it, copy slideshow to the same folder as your home page ( or include file in which .swf file is used) and see if flash is loaded.

Link to comment
Share on other sites

seems like it is a path problem. If you write:

param name="movie" value="homepage-slideshow.swf" /> , it means that html file and slideshow should be in a same folder. Just to test it, copy slideshow to the same folder as your home page ( or include file in which .swf file is used) and see if flash is loaded.

 

Yeah thats what i thought it was. And i fiddled around with the path and location of the flash file to the point where i copied the flash file all over the place.

 

I now packed the html flash file and the swf file in one folder and used a php include to put the html file where i want it. But still no luck...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...