Registered users can click here to access more content / Geregistreerde gebruikers kunnen hier klikken om in te loggen.

Wordpress Plugin: WP-FLV

This plugin does not work with the current version of the JW player any longer. This page is nothing more than an archive.

Page Contents

Introduction

I made this plugin to simplefy the process of inserting flash video files (FLV) inside a Wordpress post or page. The plugin is build around Jeroen Wijerings excellent Flash Video Player and in order to use this plugin you have to download his player here.

License info

Unlike all other content on my site, my plugins and scripts are released under a GNU General Public License. A copy of the full license text is included with your Wordpress distribution and can also be found here. Please note that Jeroen Wijering has released his player under a Creative Commons “BY-NC-SA” license, which does not allow commercial use. The full license text of this license can be found here. I appreciate it when you let me know if and how you use my script…

Installation?

Installation is easy and straightforward. First of all download Jeroen Wijerings Flash Video Player here. Unzip the zipfile and upload the flvplayer.swf to an accessible directory on your server.

Next download the plugin source here and rename the file from wp-flv.php.txt to wp-flv.php. Upload this file to your Wordpress plugins directory.

Login to your Wordpress installation and activate the WP-FLV in the plugins menu. You’re almost done!

To make the plugin work it must know where to find the flvplayer.swf file. To do this you have to go to the options menu en choose the WP-FLV submenu. Now you change the required and optional settings for this plugin.

That’s it your finished!

Use of the plugin

The plugin replaces a special and simple <flv> tag with all the necessary and XHTML valid flash code. This <flv> has four attributes.

href
This is the only compulsary attribute. It holds the URL to your Flash Video file.
width
Optional attribute to set the width of the movie. If this value is not set it will use the default value as specified in the options menu.
height
Like width only now it sets the height
autostart
With this attribute you can determine wether the movie starts playing automatically or not. Set to either false or true.

Example codes:

<flv href="http://www.yourdomain.com/movie.flv" autostart="true" />
<flv href="/movie.flv" autostart="false" width="540" height="10" />
<flv href="/movie.flv" />

You can also use the FLV quicktag to assist you with inserting the right code.

Download

You can download the plugin source code with this link.

Changelog and todo

0.2 - 2005-11-09 - Corrected a bug with setting the movie height.
0.1 - 2005-11-06 - This is the first release. Let’s see what happens next.

Problems / Questions / Suggestions / Support?

Sorry, but I do longer give support for this plugin. Development has been dead for 2 years and this page is nothing more than an archive.