• Resolved rubenstiller

    (@rubenstiller)


    When I click pause on the video it jumps to the content URL. How do I make it stop do this?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Martin Valchev

    (@martinvalchev)

    Hello

    I cannot open your site because it is restricted. I tried to open it with VPN from USA but it keeps checking browser and nothing opens.

    I guess the problem is coming from your theme, which makes your video clickable and once you press the pause button it counts it as a click.

    Thread Starter rubenstiller

    (@rubenstiller)

    Hi!

    I removed all country blocks so you should be able to take a look now. Idk if that really helps with this one :/

    Plugin Author Martin Valchev

    (@martinvalchev)

    As far as I can see the problem is that the clip is clickable something makes it out of your theme. I can suggest you to put this code will help you and will work for you so that you don’t spoil something from your theme. Put this code in your functions.php file:

    function custom_vwg_remove_href_script() {
    if (is_product()) {
    ?>
    <script type="text/javascript">
    jQuery(document).ready(function($){
    jQuery('.woocommerce-product-gallery__vwg_video').removeAttr('href');
    });
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'custom_vwg_remove_href_script');

    Please get back to me with feedback on whether it fixed the problem

    Thread Starter rubenstiller

    (@rubenstiller)

    You’re a legend. Works like a charm!

    Plugin Author Martin Valchev

    (@martinvalchev)

    Glad we fixed the problem to work for you.

    I hope if you have time to leave a review of the plugin, it will help its development. Thanks !

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.