Easy Flash video and WordPress
I recently posted about the joys of embedding Flash video using Jeroen Wijering's Flash Video Player. While I originally inserted FLVs on a plain HTM page the integration of FLV video remains super easy with WordPress.
- Make sure you already have Jeroen Wijering's Flash Video Player installed and working.
- Download the WP-FLV plugin, install and activate.
- If you're using the WordPress default rich editor, open /wp-includes/js/tinymce/tiny_mce.js and replace line 101 with:
this.defParam("extended_valid_elements", "flv[*]");
(Hat tip to Andreas.)
If you're using the WYSI-WordPress editor plugin, open the wordpress.js file and addflv[*]to the "extended_valid_elements" configuration. - Insert the code to display your video:
<flv xhref="http://www.yourdomain.com/movie.flv" width="400" height="300" autostart="false" /> - That's it!
My original source video files are WMV. I'm using Windows Movie Maker to convert to AVI, then the RIVA encoder to convert to FLV.
















September 19th, 2006 at 3:31 pm
Hi, I tried what you did replacing line 101 but still having an error. The player appear but the video don't
If you can help. I'll appreciate. You can have a look on the website where I set up this plugin www.danielkunzi.ch but let me know so I can open it 4 you. Many thks for your help in advance.
September 19th, 2006 at 8:44 pm
Sorry it didn't work right away for you! After installing the WP-FLV plugin, did you visit Options > WP-FLV to configure its paths? I forgot to do that on a recent installation and that was exactly what caused a blank screen. Hope that helps, but if not, feel free to post back!