Hana Flv Player WordPress Plugin v1.7

Hana Flv Player WordPress Plugin v1.7
0 votes, 0.00 avg. rating (0% score)
9/17/2009: Please visit the new home for the Hana Flv Player and Hana Flv Player Plugin Forum.

I just released v1.7 of Hana Flv Player WP plugin. The latest version has two improvements. One is to handle more advanced options of the FlowPlayer and FLV Player. (Unfortunately OS FLV does not have enough options to implement) The other is for showing FLV movie in the template theme files outside of the blog article by using a new method.

More options for the players

By using ‘more_2’ and ‘more_3’ attributes, you can use advanced features of the each player. There are tons of other options for the customization. You can use most of the options through these attributes. You can start testing by using the javascript generated provided in the settings menu.

It is mainly focused on the interface design option. After selecting the options you want, you can click the ‘Generate’ button to generate the sample usage in the output textarea.

Here are the examples from the predefined samples.
Flow: Simple Black Control Bar

more_2="showVolumeSlider: false,showMuteVolumeButton: false, showMenu: false, controlBarBackgroundColor: 0"

Flow: Controls over Video with Auto-Hide

more_2="showVolumeSlider: false, controlsOverVideo: 'ease',controlBarBackgroundColor: -1, controlBarGloss: 'low' "

Flow: Minimalist Look

more_2="showStopButton: false, showScrubber: false, showVolumeSlider: false,showMuteVolumeButton: false, showFullScreenButton: false, showMenu: false, 
controlsOverVideo: 'locked',controlBarBackgroundColor: -1,controlBarGloss: 'none', 
usePlayOverlay: false "

Flv: Showing Custom Logo


Insert flv into template theme files (such as sidebar.php)

Okay, here is the function that you can use in the theme template files to show FLV movie. Basically you need to use hana_flv_player_template_call method. The method takes a single argument. The argument should be just the string of the attributes of the regular usage. Just copy below code into your theme template file and edit $hana_arg colored attributes accordingly.

if<|$styles>|> (function_exists<|$styles>|>('hana_flv_player_template_call')){
more_2=\"showStopButton: false, showScrubber: false, showVolumeSlider: false,showMuteVolumeButton: false, 
showFullScreenButton: false, showMenu: false, controlsOverVideo: 'locked',controlBarBackgroundColor: -1,
controlBarGloss: 'none', usePlayOverlay:false \"
	echo<|$styles>|> hana_flv_player_template_call($hana_arg);	

And here is the screen capture image showing FLV movie in the sidebar.

Let me know if you have any question.

7 thoughts on “Hana Flv Player WordPress Plugin v1.7

  1. Hi Hana,

    Nice little plugin thanks. I’m wondering if you can help with this though.

    I want the player in the sidebar, and be able to use custom fields to set the video it plays. I have a field called “video”, but I’m no php guru, and I can’t figure out how to make the video I enter into the custom field, show on that page.

    I am getting a parse error.

    This is the line in the code I’m having a problem with.

    video=’http://www.mydomain.com/video/$key=’video’; echo get_post_meta($post->ID, $key, true)’
    Can you help?

  2. You should announce that one needs AC_RunActiveContent.js together with AC_OETags.js in order to get your plugin to function properly!
    Besides that, Player #1 would not work in any browser i tested..

  3. Excellent work, as usual. I notice that your Thickbox/Lightbox plugin (or whatever you’re using to show large versions of embedded pics) does not blacken the background page, as is usually the case. Which plugin are you using and in which of its file did you make the modification?

  4. @BDF, Thank you for the comment. I know . I found that my lightbox is not working few days ago. But I am not sure which WordPress plugin affected the lightbox to fail. I will need to check. Are you experiencing the same issue? I don’t think this is related to Hana Flv Player, but I will check again.

Comments are closed.