• Resolved viraladmin

    (@viraladmin)


    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 ??

    https://www.ads-software.com/extend/plugins/hana-flv-player/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author HanaDaddy

    (@nurungji)

    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=""
        width="400"
        clickurl="https://www.yahoo.com"
        clicktarget="_blank"
     /]

    Thanks.

    Thread Starter viraladmin

    (@viraladmin)

    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!

    Plugin Author HanaDaddy

    (@nurungji)

    Hey

    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') {
    	$event_tracking_body.="
    	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{
    	$event_tracking_body.="
    	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']."'); } ); ";
    }
    Thread Starter viraladmin

    (@viraladmin)

    [email protected] ?? and let me know where to send you a donation in the email also ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Two specific features.’ is closed to new replies.