Hana Flv Player WordPress Plugin v1.7

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"
/]

Unalbe to show flash video

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

iPod Universe

$499.99
Apple iPod Video 80 GB White MA448LL/A (5.5 Generation) - I bought this generation 5.5 ipod to use with an older video viewer I have. Unfortunately the video viewer will not work with the newer generation ipods. This one has 80GB which is plenty of room for ...
$45.00
Apple iPod shuffle 1 GB New Bright Blue (2nd Generation) - After letting my first iPod sit unused for 5 years, I've become a collector, going from a 160 Classic, to a Touch, to this single gig pint-sized dynamo. To think that just a few years ago a whole gig...
$76.99
Apple iPod shuffle 4 GB Silver (3rd Generation) LATEST MODEL - I've had my iPod Shuffle (3G) for about a week, and it failed several times halfway through my workout. The controls seems to short-circuit by the moisture/sweat and it would either pause, go into pla...
$0.01
Premium White USB Data / Charging Adapter Adaptor for Apple 2nd Generation Shuffle - This item was also another choice I had to energize my iPod talk; fits into the back of my PC and other adapters just fine.
$0.01
Travel/ Wall Charger w/ IC Chip for Apple iPod 3G / 4G / Video / iPod Mini / iPod Nano , White - This iPod charger functioned for a while, but it is delicate. Even with very careful use, the outer cord covering detached and opened up where it entered the plug that attaches to the iPod.
$299.99
Apple iPod nano 4 GB Blue (2nd Generation) - Apple's done it again! I bought one used for $50 bucks online and I haven't stopped listening to it! The 2GB is perfect for people like me who only have around 300 songs and can't afford the 3th gen. ...
$133.95
Apple iPod nano 8 GB Pink (4th Generation) LATEST MODEL - My Zune died, so I bought the Nano, after reading the reviews. This super small unit delivers! Sound blows away my old unit, and it drives my headphones with ease (Koss Pro). Playback is excellent, as...
iPod Nano Silicone Case Package for 4th Generation Skin Cover + Screen Protector + Car / Home Charger / USB and Armband, Nike + Compatible - This is a great little package to purchase. It is very convenient, especially for traveling. You get so much for a small price! I would definitely recommend this to everyone.
Radiantec FM Transmitter and Car Charger for iPod nano 1G (Black) - This product works great! I bought a cheap one first and had to throw it out. This one is definitely worth the money.
$29.00
Apple Nike + iPod Sport Kit for iPod nano 1G, 2G, 3G, 4G, iPod touch 1G, 2G - This gadget has really been hit or miss for me. Sometimes it works, other times it claims I ran 10 miles at 6 minutes per mile. From the minute I inserted it into my shoe I have had problems with the ...
Hard Crystal Case for iPod Nano 4th Generation Chromatic 8GB 16GB Crystal Case package with Screen Protector (Nano 4th Gen Mp3 Player not included) - The great thing about this package is you get a hard case, a screen protector, small cleaning cloth, and a pouch.

The pouch is way oversized, but will do if you need something to keep y...
$6.82
USB Data Cable + USB Car Charger + USB Home Charger + Smoke Rubber Silicone Skin Case + Elastic Armband + Clear Reusable LCD Screen Protector - The armband does not hold your iPod, it's just an elastic band. Not happy about this as it was one of the main reasons I ordered this package. The screen protector is also useless, it scratched when...
$0.01
BargainCell Rapid Travel Charger for iPod - This tral charger does not fit the Ipod I have and it was advertised that it did. Very disappointing because I now own two and and I can not use them.
$0.01
Dock Connector to USB 2.0 Cable for iPod and iPhone (White) - Although this may not directly be an Apple product, it gets the job done with a price you can almost steal it for. I would recommend to anyone needing this cable. Why waste more money on the apple cab...
$4.90
Apple iPod Charger 3 in 1 Bundled Kit - Home Travel Wall Charger - 12V Car Charger - AV Audio Video Cable - So far, so good with this product. I traveled with it as soon as I received it and it worked - I must admit that I was a little skeptical. I'd totally recommend this product to anyone. I couldn't f...
$0.01
Transparent Clear Snap On Crystal Hard Cover Case for Apple Ipod Nano Chromatic 8GB 16GB 4G 4th Generation - I fooled around with this piece of crap for about 10 minutes, then tossed it where it belongs, in the trash. It is flimsy, and the damage it could do far outweighs the value. The only reason it got on...
$0.55
Macally Audio and Video Cable for iPod classic 4G, 5G, 5.5G (White) - THIS ITEM WILL NOT WORK WITH THE IPOD CLASSIC IT'S NEVER GOING TO WORK WITH THE IPOD CLASSIC. THIS NEEDS TO BE STATED CLEARLY IN THE TITLE, INSTEAD THE SELLERS WHO HAVE NO IDEA WHAT THEY'ER SELLING MA...
$9.61
CTA Digital Rapid Travel Charger for iPod (White) - Charged the ipod 1 time, then broke. I'm just glad it didn't hurt the ipod.
$12.81
Belkin Neoprene Sports Armband for iPod nano 3G (Black/Gray) - Well, after about 10 uses, the clear cover has started to come off at the lower right corner. I glued it back on, but now it's starting to lift on the right side. It's too bad... it was working rathe...
$32.00
6 in 1 Car Kit for Ipod (Black) Car Charger / Fm Transmitter / Holder Full Range Frequency / USB port / Remote Control for iPod, Touch 1G/2G - I just got this product as a gift. The description states that it is compatible with the iPhone 3G, but it isn't really. "Compatible" to Satechi must mean that it fits, the plugs work, and it makes no...
$18.98
CrazyOnDigital 15-Piece Full Accessory Bundle Set for iPod Video Classic 30 GB and 80 GB - This was a lot of products for the money. No it is not top quality but for the price I feel you can not beat it. And everything works. I love the Arm band mp3 holder (and u get 2 of them I gave one t...
$19.99
15 pieces FULL ACCESSORY BUNDLE SET for iPod Nano 4th Gen - Every thing was extremely cheap, the wall adapter blew out my Ipod Nano Fourth generation, Now I can't use it. So If your going to by this set remember not to use any thing except the speakers and th...
$14.13
Griffin Reflective Case for 80/120/160 GB iPod classic 6G (Silver) - This is a very handsome case. However, after only 3 weeks I dropped my ipod about 18 inches at low velocity onto a fairly soft dirt road. It landed on its back and the screen immediately stopped fun...
(7 Color Options) 5 in 1 Apple iPod Touch 8gb, 16gb, 32gb 1st / 2nd Gen silicone case package with home / car charger, USB cable, armband, screen protector - The item arrived within the time frame I was told. Chargers, cords and case performed as advertised.
$37.61
iLive IS208B Stereo Speaker System with iPod Dock (Black) - We put this in our bedroom to charge the iPOD. The LED is so bright that we have to put a towel to cover the top. Besides the light, it works really well. The sound is good too.
$13.87
Speck ToughSkin Rubberized Case with Belt Clip for 80/120/160 GB iPod classic 6G (Black) - I dropped my new iPod classic the first day I got it. Thank God I had this Speck case. Who knows what could of happened. Only improvement I would make would be to somehow make it possible to dock t...
  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..

(will not be published)
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!
Buy.com:$10 off $200 valid in our Computers, Software, Home Networking, Digital Cameras and Electronic Stores! exp 06/30/09