Part of the EllisLab Network

Plugin Information

FLV Player 2.2 third_party

Download
Author:
vinnyio
Published:
Apr 17, 2006
Last Updated:
Dec 01, 2008
License:
Freeware
Categories:
Plugins  Add-On  
Simple plugin so you can insert flash video (FLV) into your templates or posts.

Example Usage

{exp:flvplugin playerpath="http://www.somesite.com/players/flvplayer.swf" playernumber="1" file="http://www.somesite.com/video/video_file.flv" width="320" height="240" showdigits="true"}

Notes

INSTRUCTIONS

The flvplayer plugin is inserted into a page with a small javascript. These javascripts use the external ufo.js script by Bobby van der Sluis in order to prevent the annoying "click here to activate" message. Do not forget to upload the ufo.js file as well. The ufo.js is inserted in your template header right at the top:
<script type="text/javascript" src="ufo.js"></script>

The flashvars are settings you can insert into your plugin code to control both behavior and appearance of the flvplayer. In the code example above, you can see how to insert these flashvars: just insert them into the flvplugin tag. A full list can be found in your flvplugin info page in your control panel or the included readme in pi.flvplugin.zip

These 5 variables are required

file="URL (video.flv)"

The location of the file to play. It can be a single FLV file, an RTMP/PHP stream * or an RSS or XSPF playlist.

playerpath="URL (flvplayer.swf)"

The location of your flvplayer movie.

playernumber="NUMBER"

This is the id of the movie layer. Increment this each time you add the plugin code to the same page.

width="NUMBER"

Force the width of your movie if you have a messed-up display IE.

height="NUMBER"

Force the height of your movie if you have a messed-up display IE.