Hana Flv Player WordPress Plugin v1.7

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

[hana-flv-player
video="http://www.neox.net/w/wp-content/plugins/hana-flv-player/babyhana.flv"
player="2"
more_2="showVolumeSlider: false,showMuteVolumeButton: false, showMenu: false, controlBarBackgroundColor: 0"
/]

Flow: Controls over Video with Auto-Hide

[hana-flv-player
video="http://www.neox.net/w/wp-content/plugins/hana-flv-player/babyhana.flv"
player="2"
more_2="showVolumeSlider: false, controlsOverVideo: 'ease',controlBarBackgroundColor: -1, controlBarGloss: 'low' "
/]

Flow: Minimalist Look

[hana-flv-player
video="http://www.neox.net/w/wp-content/plugins/hana-flv-player/babyhana.flv"
player="2"
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

[hana-flv-player
video="http://www.neox.net/w/wp-content/plugins/hana-flv-player/babyhana.flv"
player="3"
more_3="top1=http://www.neox.net/w/wp-content/plugins/hana-flv-player/logo.png|30|20"
/]

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.

<?php
if (function_exists('hana_flv_player_template_call')){
	$hana_arg=" 
video='http://www.neox.net/w/wp-content/plugins/hana-flv-player/babyhana.flv'
player='2'
width='180'
height='150'
more_2=\"showStopButton: false, showScrubber: false, showVolumeSlider: false,showMuteVolumeButton: false, 
showFullScreenButton: false, showMenu: false, controlsOverVideo: 'locked',controlBarBackgroundColor: -1,
controlBarGloss: 'none', usePlayOverlay:false \"
";
	echo 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.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • Reddit
  • Technorati
  • Twitter

, , , , ,

My favorite listmania

Headphones and In-Ear Monitors with volume and play controls

$399.99
Shure SE530PTH Sound Isolating Earphones with Push-To-Hear Control - The Shure SES30PTH sound isolating earphones performed as expected. Of course they do not isolate all background sounds, but they do reduce it quite a bit if you have a good seal with the earpieces a...
$499.95
Sennheiser MX W1 Totally Wireless Earphone - Great sound quality and top of the line blue tooth technology make these earbuds a force to be reckoned with. It would be nice if there was yet another adapter for the ear lock, as it seems mine fall ...
$220.29
Etymotic Research Ety8 Bluetooth Stereo Wireless In-Ear Earphones - Team Ety,

Wanted to say thanks so, so much for your great service with my
broken ety-8 bluetooth headphones. I was heartbroken after the nice
gift from my girlfriend brok...
$158.30
Etymotic Research HF2 Earphones / Headset (iPhone Compatible) - Black - I've owned these for three weeks. So far so good, they sound great. Lots of detail and the bass is pretty good too. I think they are better than the Denon AHC751K I owned before these. You have to pu...
$10.77
Sony MDR-E829V Fontopia Earbuds with In-line Volume Control - The sound quality is very good and the ear pieces are comfortable. The cable is also thicker and sort of rubbery so it doesn't get stuck to things and feels stronger than the Ipod headphones.
I...
$14.76
Koss KTXPRO1 Titanium Portable Headphones with Volume Control - Lightweight, reasonably comfortable and an in line volume control. just the ticket for portable music. i use them with my Blackbery and with my media player. considering the price the sound is very im...
$19.95
Sony MDRG58V Street Style Headphone with Volume Control - I honestly have no idea what other people are complaining about--none at all. Some of these reviews are old, so maybe changes have been made to these since I got them almost two years ago...? The pict...
JVC Lightweight Headphone with Volume Control (Black) - These headphones have great sound, and the volume control is very, VERY convenient. The downside to these headphones for me is the fit. They do not seem snug enough over my head, and move a bit when...
Panasonic RP-HX32 2-way Style Earbud Headphones with In-cord Volume Control - I listen to audiobooks only, no music, but find the sound reproduction to be very clear and they are very comfortable to wear. I wear them for hours every day with no problems. Very good product.
Griffin SmartShare Headphone Splitter with Individual Volume Control White - This product is affordable and works-as-designed. The individual volume controls work well. I found this product useful when I was traveling via plane and we wanted to share the audio while watching...
$17.95
Shure EA650 Volume Control for Shure E/SE Series Sound Isolating Earphones - Good for two years but now it is very sensitive to motion. If I move from side to side about 6 inches I hear static.

Not buying another one again.
$59.99
Sennheiser MX55VC Twist-To-Fit In-Ear Stereo Headphones w/ Volume Control - I am a life-long jogger and looked and looked for ear phones that were comfortable and would stay in my ears. These are the best earphones for jogging and they also sound great and are water proof. Th...
$24.99
Panasonic RP-HV280 Portable Earbud Headphones with In-Cord Volume Control - The ear buds fit nicely, and the sound is good. I bought them for the in-line volume control, and was pleasantly surprised by both the quality (they are heavy and don't feel cheap) and the sound. Gr...
AKG K 14 P Earbuds with In-Line Volume Control - You think you can not get a good earbud at this price? You are wrong! When it comes to AKG K14/K314, you are at the right place! This is a very inexpensive, but very nice sound quality earbud. The det...
$8.13
Koss P9 In-Ear Headphones with Volume Control - This is a pretty good purchase if you want something cheap, reliable, with decent sound quality. There are few wrap-around headphones out there when I was shopping for them - this set had the buds-in-...
Sennheiser HD 435 Versatile Open-Aire Ultra-Light Supraural Headphone w/ Volume Control - Well I've had these headphones now for little over a month and they are alright. They aren't great mind you but the sound is good, the volume control function is great which is the reason I bought the...
Too low to display
V-MODA Vibe Duo Earbud Headset (Chrome, iPhone Compatible) - Pros:
-I have always liked Vmoda's sound quality
-The black fabric cable makes it more durable

Cons:
-The controls do not work with iPhone 4
-The microphone is rea...
$12.23
Monster MusicShare Headphone Y-Splitter with Volume Control/Mute for Zune - Looking for a Y-connector for headsets to use with an iPod or other MP3 player or with a laptop? Consider the following product, which is on another Amazon web page:

Monster AICYP 200 ...
Turbo Earhugger TV-6000 Headphone - I may have smaller ears than most adults, because every other earbud on the market is painful and refuses to stay in place for me. These are entirely comfortable and have enough flex that the buds can...
$11.95
Ear Bud with Play/Stop Controller and Microphone for Apple iPhone (Black) - It only took a month before the ear buds started to fall apart. The sound quality was non-existant as two tin cans would have sounded better. The buds were comfortable while they lasted but poor con...
Sennheiser MX 660 Silver Earbuds with Volume Control and Cable Winder ?(Silver) - Great set of phones with a nice rich, deep bass sound. Why are you still wear those white buds?
Shure PTH Push To Hear Control for Sound Isolating Earphones - I am buying a second of these cables for my se430 (in addition to my se530). I love it. Really great to block out load mouths in your work area. When the boss comes by your cubicle to ask about you...
$55.48
Maximo iP-HS1 iMetal Stereo Headset for iPhone (White,Silver) - I loved this headset. The earbuds were comfortable, and the mic was decent. The placement of the mic/button along the cord was good as well. However, as another reviewer said, the small, round, rub...
  1. #1 by Paul at May 20th, 2009

    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)’
    javascript:document.tcommentform.submit();
    Can you help?

  2. #2 by Tobe at June 1st, 2009

    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. #3 by Eric at July 22nd, 2009

    This is a great plugin! Works perfectly, very easy to use and does almost everything that I want… thanks!

  4. #4 by BdF at August 3rd, 2009

    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?

  5. #5 by HanaDaddy at August 3rd, 2009

    @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.

  6. #6 by HanaDaddy at September 17th, 2009

    OK, I just upgraded to v2.2 which supports wmode = transparent . Basically it will allow overlay of other higer z-index objects. And I have a new website for wordpress plugins.

    Please visit my support forum site for any questions Hana Flv Player Plugin Forum. I am closing the comment now. Thank you everybody!

    Hana Flv Player Plugin Forum.

Comments are closed.

Quick Coupons!
Abe's of Maine: Actually , if you buy a product more than $75, you can use FRIEND10 coupon code to get extra $10 off!