Hana Flv Player WordPress Plugin
Change Log
- v 1.7: Adding additional attributes for the players more advanced options. Also added a method to show FLV movie within the theme template files (such as sidebar.php)
- v 1.5: Adding FLV Player Maxi
- v 1.1: Lots of debuging.
- v 1.0: Initial Release with OS FLV (GPL) , FlowPlayer (GPL) flv players
Now you can easily embed the FLV Flash videos in your WordPress Blog. I have packaged the two GPL FLV Flash player, OS FLV and FlowPlayer. So you can use them freely without worries even for the commercial purpose unlike the JW player - If you have AdSense or display ads showing , you should purchase the player according to its website.
Flv Player MAXI
FlowPlayer
OS FLV
Installation
- Download and unzip the zip file. Upload
hana-flv-playerfolder with all of its contents to the/wp-content/plugins/directory - Activate the plugin through the `Plugins` menu in WordPress Admin Interface.
- Adjust the default settings in the ‘Settings’ menu in the Admin Interface if you want to.
- Use [hana-flv-player video=’…’ /]in your blog article. Attribute `video` is the only mandatory item where you define the video file. It can be full URL or absolute or relatvie path.
If you want a quick test and see if it’s working fine, goto Hana Flv Player settings admin page and copy the example shown in the bottom and paste in your blog article.
How to use
When you write an article , you can use [hana-flv-player /] tag to embed the flash video player. The ‘video’ attribute is mandatory to indicate the video file . There are other optional attributes and the default values for the options can be defined in the Admin settings page. See the below for the example.
This is minimum usage format.
[hana-flv-player video="http://yourwebsite.com/wp-content/plugins/hana-flv-player/babyhana.flv" /]
This is usage with all attributes defined.
[hana-flv-player
video="http://yourwebsite.com/wp-content/plugins/hana-flv-player/babyhana.flv"
width="400"
height="320"
clickurl="http://yourwebsite.com/"
player="2"
autoplay="false"
loop="false"
autorewind="true"
splashimage="http://yourwebsite.com/wp-content/plugins/hana-flv-player/splash.jpg"
/]
Attributes explained:
- video: URL of the flv video file. This is mandatory.
- width: Width of the Flash player.
- height: Height of the Flash player.
- clickurl: If you want to open a website when a user clicks on the video, you can define the target website URL here.
- player: If set to “1″ , OS FLV will be used. If set to “2″, FlowPlayer will be used.
- autoload: If true, the movie will be loaded (downloaded). If false, the starting screen will be blank since no video is downloaded.
- autoplay: If true, the movie will play automatically when the page is loaded.
- loop: If Loop is true, the movie will replay itself constantly.
- autorewind: If AutoRewind is true, the cursor will be reset to the start of the movie when the movie is ended.
- splashimage: Only works with FlowPlayer. When autoload is off, this splash image will be shown in the player. It only supports JPEG images.
If you want to try the plugin quickly, you can just copy and paste the tag Example showing in the Plugin Setting page. The plugin comes with a small FLV file for testing so you will be able to see it.
Leave comment if you have any questions.
Have a nice day.

Hiya. The plug seems nice but I just can’t get it up and running. Even the example code from the setup page results in ‘[hana_flv_player] : “video” attribute is missing for the video file’s URL’. I tried (.flv file) uploads to booth ‘…/plugins/hana_flv_player/The_File.flv’ and my existing flash video folder on my server, with apropriate link to the .flv file. Any suggestions? Thank you
Comment by Fred — May 28, 2008 @ 3:35 pm
Fred, I am really curious what’s happening.
Why don’t you try this below writing in a single line? Of course, you will need to change the url pointing to your wordpress path.
<hana_flv_player video="/your_wp_path/wp-content/plugins/hana_flv_player/babyhana.flv" />Comment by HanaDaddy — May 28, 2008 @ 6:05 pm
Thank you for a quick reply! No, sorry - no luck with the single line code. Everything in the PHP script points to “hana_flv_player” but the unzipped folder is called “hana-flv-player”. Is that a problem? I renamed the folder on the server - still no luck. The code-water it getting too deep for me.
Hmm…
BTW. This time - no typo in my WWW!
Comment by Fred — May 28, 2008 @ 7:25 pm
I am sorry, something doesn’t look right. I must have done something wrong. I will review and update it tonight.
Comment by HanaDaddy — May 28, 2008 @ 8:56 pm
Fred, I just updated the plugin and it is now version 1.1. I have tested with 2.0, 2.1, 2.2, 2.3, and 2.5. The usage is changed from angle bracket to square bracket so you can use the code in both Visual or Html(Code) editing modes. If you still see the missing ‘video’ attribute error message, please save your webpage and send me by email.
Comment by HanaDaddy — May 28, 2008 @ 11:19 pm
It is used to share millions of videos and pictures also used to share with your friends.
Comment by Agriya FLV player — May 29, 2008 @ 8:11 am
Now it’s version 1.2. Sorry for the frequent updates. This time you can define attributes without single or double quotes wrap around the value. Enjoy.
Comment by HanaDaddy — May 29, 2008 @ 9:02 am
First off Thanks for the easy to use Plugin for WordPress; I could get everything to work but the .flv file would not play. Soo, after a little work, I found out that the MIME type for .flv has to be set on IIS 6, which is what I’m using for my Webserver. Others may run into the problem soo I found a link on the Adobe Website that explains how to configure it. http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19439
Once I set this up correctly the video played just fine.
Comment by Jimbo — May 29, 2008 @ 9:15 pm
Jimbo. Thank you for the valuable information.
Comment by HanaDaddy — May 29, 2008 @ 9:22 pm
I accidentally deleted one of the comments which was marked as Spam. He was asking about showing multiple instances of the flash player is possible. The answer is yes and you can have as many players as you want in a single page. If you have an issue, leave a comment.
Comment by HanaDaddy — May 29, 2008 @ 9:27 pm
It was my comment that was accidentally deleted… no problem. For some reason I could not get the Flowplayer to display two videos on the same page. The last would show, but the first disappears. After removing the last, the first one appeared. I also got a javascript error on IE7 (no I do use that that browser, but my audience does) and it wouldn’t show any video. So… I switched to the OS FLV player and everything worked..multiple videos and no errors in IE. I didn’t hack the code at all..so couldn’t have been my fat fingering anything.
Personally I like the Flowplayer look better, but I can live the OS FLV. Anyway, it’s working well now..thx!
Comment by Mark — May 30, 2008 @ 11:56 am
Mark, I have upgraded the plugin to v1.5. With a new Flash video player - Flv Player Maxi. I think this is the most convenient player of all. Also I have fixed lots of bugs too. So enjoy but remember that you need to use
[hana-flv-player ... /]instead of<hana-flv-player ... />Comment by HanaDaddy — May 31, 2008 @ 12:39 am
New version working great. I like the new player better than the other two.
Comment by mark — May 31, 2008 @ 6:56 pm
hey
I like your plugin..and it’s what i was looking, but i have a problem with it.
I don’t know if it’s because of your plugin or because of lightbox..
it’s like this
i have a page with a gallery of photos opened by lightbox and a video opened with your plugin.
when i open a photo with lightbox i get your video in front of the photo.
do you know how can i fix this?
thanks
Comment by luara — June 2, 2008 @ 7:10 am
You know what? I have noticed the same problem since my website is using lightbox too. I will look into it soon. Thank you.
Comment by HanaDaddy — June 2, 2008 @ 12:07 pm
I have upgraded my lightbox plugin and now it seems OK. This is Lightbox issue. You should upgrade with with latest lightbox files.
Lightbox2
Click here for the wp-lightbox2 plugin
Comment by HanaDaddy — June 2, 2008 @ 12:38 pm
Great plugin - have you considered the option to be able to pass along player specific parameters? For example, I would like to use the Flowplayer parameters to remove the video menu/buttons to create a minimalist video. Not sure if the other players support this or not, but if we could pass along player specific parameters this could be accomplished.
Comment by Dan — June 28, 2008 @ 3:02 pm
Dan, I believe both Flowplayer and FlvPlayer support such functions to change the player control interfaces. I will review and try to implement . Thank you for your comment.
Comment by HanaDaddy — June 29, 2008 @ 10:51 am
is there a way to get this into the template as in on a static homepage or a side bar with no widgets?
Comment by george — July 8, 2008 @ 12:09 am
George, I am currently working on the improvements. I will consider adding a function to be used in the template sidebar. Thank you.
Comment by HanaDaddy — July 8, 2008 @ 8:13 am
George and Dan, v 1.7 is ready. Mainly there are two improvements. One is adding additional attributes for the players’ more advanced feature. And the other is the method to show FLV movie within the theme template files (such as sidebar.php) For now, I am thinking about how to implement this with single PHP page.
Comment by HanaDaddy — July 11, 2008 @ 7:54 am