If, for some reason, you want to host your videos on your own server, here are 4 steps to easily do this in Linux:
- Convert your video using ffmpeg:
ffmpeg -i your.avi -s 320x240 your.flv - Grab JW FLV Media Player and extract mediaplayer.swf
- Upload your FLV file and mediaplayer.swf to your server.
- Edit your HTML file to include something like this (one line):
<embed src="mediaplayer.swf" allowfullscreen="false" allowscriptaccess="always" flashvars="&file=your.flv&autostart=false" height="240" width="320"></embed>
or the more standards-compliant<object type="application/x-shockwave-flash" data="mediaplayer.swf" width="320" height="240">
<param name="allowfullscreen" value="false" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="&file=your.flv&autostart=false" />
</object>
Note that the latter is not viewable in the Nokia Internet Tablets.
Hosting your own videos allows you to avoid any branding that a third-party host might impose -- perfect for intranet/corporate use. You should also check out the various features, such as playlists, that JW FLV Media Player offers.
Enjoy!
No comments:
Post a Comment