Close to two years ago, after quickly putting together my own FLV Player plugin for WordPress (original post) I added it to WordPress.org’s already impressive list of plugins. Who knows? Someone else might find it useful (it’s been downloaded more than 4,500 times since then so I guess that means someone did)
Yesterday a few people commented on that original post, thus reminding me of that plugin. It shamed me when I revisited its packaging to find out that it required from its users to download more pieces left and right. So, here it is, brand new v2.0, with everything included, and this means brand new SWF wrapper and brand new Flash file. Hope you forgive the fact that it took me all this time to provide a real self-contained archive.
Oh, and there is something I would like to address about this plugin. It’s actually a reply to one of the comments I received recently:
What do you mean by “a flash stream”? Does it stream an flv or use progressive download? To stream flash, you need a streaming media server. You should be clear and say what you mean – stop contributing to peoples’ ignorance.
Well, I hope it helps you feel a little less ignorant to know that the answer is “both.” This plugin can stream both types, depending on your use of a http-type or a rtmp-type URI. It can also play live streams. More information can be found here.
If you enjoyed this post, make sure you subscribe to my RSS feed!






Default installation expects swfobject.js to be placed in the plugins directory – but the file exists in plugins/flv-player. Until this is fixed, modify line 20 to update the correct path to swfobject.js or the video will not play.
question on streaming: how does one specify the streaming parameters? I have streaming working on a static html page (http://site.com/streamer.php?video.flv)
with the flashvars
(‘flashvars’,'streamer=/streamer.php&file=video.flv’);
yet If I enter in the following in a wordpress post:
[flvplayer http://site.com/streamer.php?video.flv
I get a “video not found” error, and if I enter:
[flvplayer http://site.com/streamer.php/video.flv
the video does load, but does not stream.
I am using the xmoov script.
I have searched the net and I should say I have not come across an article like this which is so easy to understand and learn the concepts.
cheers
@jimg –
Thanks, Jim. I did not realize that the WordPress plugins website takes a plugin’s code and automatically relocates it in its own subdirectory. Clever buggers.
I pushed a fixed flvplayer.php to subversion. You should see it soon as “Version 2.2″
@jimg –
Do I need to install the script to test it? I could not find a demo on their web site.
@jimg – Also update line 52! Now it will work.
@admin – yes, one does need to install the script on the server. The script can be found here ( http://xmoov.com/xmoov-php/source/)If you’d like some assistance, feel free to drop me a line.
Hey, this is really cool. Thanks!!
All I get on my webpage is a message to tell me to “Get Adobe Flash Player”
I have the Flash Player – does anyone else see this message or is it just my computer?
Kind Regards
Nick
@Nick Burrett – Please ignore this post. I had to edit the code to include the dir flv-player!
Chris – any way to use a lightbox effect ( rel=”lightbox” ) inside of the command to set up the player. I’m hosting my videos on Blip.tv and pointing to the .flv file.
Example:
[flvplayer http://acme.com/video.flv 640 480 rel="lightbox" ]
Thanks.
@Bill Vick –
I guess it would be an interesting exercise to add a lightbox to it.
Wouldn’t it be already compatible with existing lightbox plugins, though?
I just can’t seem to get rmtp streaming to work. Is there any way you can give me the syntax? My stream would be something like rtmp://et3w9zyis.rtmphost.com/videolibrary/demo. It’s an Influxis account.
Cool…. one Thanks for the info..
@noam
Sorry, I am not familiar with Influxis but your stream url looks ok.
rtmp is handled directly by the JW Player; I suggest you try asking for assistance on the JW support forums. A quick search for “rtmp” reveals these entries: http://www.longtailvideo.com/jw/?search=rtmp
All I get on my webpage is a message to tell me to “Get Adobe Flash Player”
I have also this problem and don’t understand how to resolve.
Help me please
The message ‘Get Adobe Flash Player’ shows up on the site because of an error in the code.
Open /wp-content/plugins/flv-player/flvplayer.php and change the following:
Line 20:
To:
Line 52: ‘{$prefix}/plugins/flvplayer.swf’,
To: ‘{$prefix}/plugins/flv-player/flvplayer.swf’,
I assume that this wil be fixed in the next update.
Hey there!
I updated the plugin a bit. Fixed the bugs, and updated the Swfobjects and JW FLV player.
You can download here:
http://ninjabreakz.com/sitedev/wordpress/
Hey Chris,
I am using your WP flv player plugin. Is there anyway to start then stop the video a split second later. This would kill two birds with one stone.
1. You would have an image displayed instead of a blank screen.
2. Once the visitor lands on the page then the video would now begin buffering to their cache avoiding any preload stutter for those with poorer broadband connections.
I had a good look at the plugin code and didn’t see anything obvious that I could change to achieve this.
Thanks in advance.
John
How i can update the plugin for my wordpress?
thank for share
Great post will use these plug ins in my blog