Hana Flv Player
[resolved] Two specific features. (5 posts)

  1. viraladmin
    Posted 3 years ago #

    Okay so I am interested in one of two features specifically, and neither exist on this plugin.

    I have seen other sites that can do these things so I am hopeful.

    First would be to make it so the video only plays if the play button is clicked, and if anywhere other than the play button is clicked the defined link will open in a new tab.

    The alternative to that would be the ability to place a small 250x 250 px ad over the video when it first starts and/or is the video is paused.

    O have no problem offering up a donation if I can get one of these options :)


  2. HanaDaddy
    Plugin Author

    Posted 3 years ago #

    Hello, let me think about it. Inserting AD might be possible with MediaElement.js player.

    Meanwhile, you can use clickurl and clicktarget attributes.

    [hana-flv-player video=""


  3. viraladmin
    Posted 3 years ago #

    Hello HanaDaddy,

    Thanks for the suggestion. I actually a already using the clickurl and clicktarget, the problem is that it takes two clicks to open the clickurl. The first click starts the video, the second opens the url. Most people won't click the second time.

    I REALLY look forward to a solution.I could technically use css to overlay the videoplayer with div, but the problem with that solution is I need to manually add and manipulate the css for each video and also ensure they stay working on the front page with multiple posts/video's.

    So yes if you can create a solution, I am definitely interested!

  4. HanaDaddy
    Plugin Author

    Posted 3 years ago #


    You can replace codes at line 649 in the hana-flv-player.php
    or let me know your email address and I will send the updated php file.

    This one works only for the Player 5 (Mediaelement.js)

    I don't have plan to upgrade version yet.

    if ($target == '' || $target=='_self') {
    	me.addEventListener('click', function() { me.pause(); window.location.href='".$flv_attr['clickurl']."'; },false);
    	jQuery('.mejs-overlay-play').click(function () {me.pause(); window.location.href='".$flv_attr['clickurl']."'; } ); ";
    } else{
    	me.addEventListener('click', function() {  me.pause(); window.open('".$flv_attr['clickurl']."'); },false);
    	jQuery('.mejs-overlay-play').click(function () {me.pause(); window.open('".$flv_attr['clickurl']."'); } ); ";
  5. viraladmin
    Posted 3 years ago #

    00purple@gmail.com :) and let me know where to send you a donation in the email also ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Hana Flv Player
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.