Welcome to WebmasterWorld Guest from 54.145.176.120

Forum Moderators: open

Message Too Old, No Replies

Trouble embedding Flash video

HELP! Is working fine locally but not on server

   
5:30 am on Mar 23, 2008 (gmt 0)

5+ Year Member



I have encoded the video to.flv.
I want to embed the flash video into a webpage. I have looked everywhere for an answer and they say to embed using dreamweaver and I followed the steps. In the insert media>flash video>

I have tried uploading using different types of FTP programs, my video works fine when I preview locally but not on the web server.

I am fresh out of ideas. Any help would be appreciated!

[edited by: tedster at 2:59 pm (utc) on Mar. 23, 2008]

5:53 am on Mar 23, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try this...

<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="YOUR FLV WIDTH" height="YOUR FLV HEIGHT" id="YOUR FLV NAME (WITHOUT .flv)" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="PATH TO SWF FILE TO LOAD FLV" />
<param name="quality" value="high" />
<embed src="PATH TO SWF FILE TO LOAD FLV" quality="high" width="YOUR FLV WIDTH" height="YOUR FLV HEIGHT" name="YOUR FLV NAME (WITHOUT .flv)" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

Just replace the parts with your data and it should work as long as you have gone into Flash and created a SWF file to load the FLV with controls, etc.

To create the SWF file, go into Flash, start a new Flash Movie and save it with a name somewhere. Then go to File>Import>Video and follow the wizard to add the content to the flash movie. Publish and upload the SWF and FLV to the same directory and use the above code to load everything into your page.

6:10 am on Mar 23, 2008 (gmt 0)

5+ Year Member



I am confused.
I don't want to actually import the video into flash though.

The other tutorials tell you that if you follow the instructions Dreamweaver automatically creates the swf file for the controls.

Does this make sense?

[edited by: tedster at 3:00 pm (utc) on Mar. 23, 2008]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month