amd on software

stuff for nerds, news that matters

Secondary Navigation

  • Say Hello!
  • About
  • Web Design Mayo
  • WordPress Book
You are here: Home > Embedding FLV movie directly on your site

Embedding FLV movie directly on your site

Published by AMD on January 6, 2009

This is a brief description of how to embed an FLV movie on your site. This works for videos you have uploaded to your website and embeds it directly i.e. does not link to the video hosting site like YouTube etc. If you want to link to the direct file on the video host you can still use this method, but your video player swf needs to have a direct link to the flv (I recommend the JW player linked below). You can still do it that way, using the direct youtube flv link – but you probably need to setup a cron job to keep the direct link up to date as the video hosting companies change them sometimes..

See a working example here.

I downloaded the flv from youtube with DownloadHelper. I grabbed the flvplayer.swf as described about 2/3 way down this forum post.

Put the flv and swf both into local directory (was root) along with this code copied from above post:

<object type="application/x-shockwave-flash" width="400" height="350"
wmode="transparent" data="flvplayer.swf?file=movie.flv&autoStart=true">
<param name="movie" value="flvplayer.swf?file=movie.flv&autoStart=true" />
<param name="wmode" value="transparent" />
</object>

You can set size and autoStart in the code. If you want more control over the player appearance I recommend JW FLV Player – I’ve paid for a commercial licence for it (very cheap), use it quite a bit.

Please let me know if this helped you by posting a comment below – thanks!
– amd.

P.S. I used the rugby video because I own the copyright to it – I took it at a recent game. If you use a video off YouTube it might be infringing the owners copyright as well as breaking the YouTube TOS.

P.P.S. If you need some help with this post a questions in the comments with a description of what you’re doing, I’d be happy to help.

Posted in geek, web Tagged embed, flv, html, JWplayer, player, video, youtube
← Previous Next →

WordPress Book

Running a Website with WordPress book

Need Website Help?

WebsiteDoctor website design and WordPress consultancy

Checkout the Website Doctor YouTube channel for videos on increasing your online sales.

Trading Online Voucher Scheme

Irish Businesses – Get €2500 in Website Funding.

Learn more about the Trading Online Voucher Scheme

Recent Posts

  • Really smart characters require a really smart author
  • Best Science Fiction Books
  • Are you using FreeAgent with Bank of Ireland?
  • Dangers of Freelancing on Upwork
  • Chinese Androids: A Cautionary Tale
  • Review: The Ocean At The End of The Lane
  • Are Short Book Reviews Paid-For?
  • Minimalist WordPress Theme
  • Updated WP-CLI backup script
  • Fix for WordPress unable to create uploads directory or not writable by server

Copyright © 2021 amd on software.

Powered by [wp-link] and [theme-link].