PDA

View Full Version : Embedding an FLV on your web site - without using javascript


jb22
Oct 21st, 2008, 11:14 PM
Just looking for some help with embedding a flv on my website. I have exported the flv file and I've downloaded a couple of players (swf). I tried using some code I found online but I can't get the player to play the flv. At most I can get the player to show up on the site but it doesn't load the movie.

I tried this code but no go:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="300"
id="flashvideoplayer.swf" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie"
value="http://www.myhomepage.com/flashvideoplayer.swf?
flv=http://www.myhomepage.com/myvideofile.flv">
<param name="quality" value="high">
<param name="bgcolor" value="#ffffff">
<embed src="http://www.myhomepage.com/flashvideoplayer.swf?
flv=http://www.myhomepage.com/myvideofile.flv" quality="high" bgcolor="#ffffff" width="400" height="300" name="flashvideoplayer.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>

I did find some code but it requires a javascript file to be there but I can't run my own javascript with the service I'm using (Squarespace). I've sent them an email but I'm just wondering if anyone here has any ideas.

Thanks.

Rajuthan
Oct 21st, 2008, 11:16 PM
If you want something easy to use check this out

http://www.adbrite.com/mb/how-publishers-ad-formats.php?section=invideo

but if the code try this one http://www.jeroenwijering.com/?item=JW_FLV_Player

jb22
Oct 21st, 2008, 11:20 PM
If you want something easy to use check this out

http://www.adbrite.com/mb/how-publishers-ad-formats.php?section=invideo

but if the code try this one http://www.jeroenwijering.com/?item=JW_FLV_Player

I'm currently using Vimeo which works but the thing is I'd like to avoid branding or better yet ads with my video.

Also, the JW player which I did check out before had references a javascript file which I can not use. I'm wondering if there's a way to set this up without any javascript, just pure HTML.