Home Forums WoodMart support forum YITH WooCommerce Featured Audio and Video Content Premium – auto play disabled

YITH WooCommerce Featured Audio and Video Content Premium – auto play disabled

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #227865

    tessera
    Participant

    Hello,
    i am using the last version of the theme.
    Also i have buy YITH WooCommerce Featured Audio and Video Content Premium.

    The problems is that the auto play doesn’t work.
    I have contact with the support of YITH and tell my that exists a problem with Woodmart and suggest me to contact with you.

    I have already try to disable all plugins but the problem resists.
    When i disable the theme and works.

    Could you please help me?

    Best regards,
    Tessera

    #227991

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problems in a bit more details. Attach some screenshots and provide us with a list of steps on how to reproduce it on your website.

    Thank you in advance.

    #228030

    tessera
    Participant

    I a sending you on private content the product that I add the video and some other informations.

    #228069

    Artem Temos
    Keymaster

    We see that the video is working on that product https://gyazo.com/1f3ddd7b876872dffd8492069a84715f

    #228074

    tessera
    Participant

    The autoplay doesn’t work.
    That’s the problem. Without your theme works

    #228075

    Artem Temos
    Keymaster

    Seems like this plugin has some special JS action to play the video on a default WooCommerce gallery. Since our theme has our own gallery they should write some different script. Otherwise, this feature will not work with our theme and we can’t do anything with that.

    #228077

    tessera
    Participant

    But the problem is with Woodmart, on other themes that I have tested works.

    #228078

    Artem Temos
    Keymaster

    Yes, we understand this. Actually, that is what we said that our theme has our own special gallery and it seems that this plugin is not compatible with themes that have redesigned the gallery. We would be glad to help you, but we can’t do anything with that. You need to contact the plugin developers and ask how exactly this video should start. What JS script they use for that. Then we can try to call that script when you scroll to video in our theme’s gallery.

    #228481

    tessera
    Participant

    Hello,
    the plugin creator send us the followings

    #228495

    Artem Temos
    Keymaster

    OK, we will try to prepare a fix for you. But we have a few questions to this code. How exactly can we trigger video play? What is video_id?
    Here is a code that calls when the video slide is shown but it needs to be improved with a code from the plugin to start the video playing.

    var $mainOwl = jQuery('.woocommerce-product-gallery__wrapper.owl-carousel');
    $mainOwl.on('changed.owl.carousel', function(e){
        var i = e.item.index;
        var $slide = $mainOwl.find('.owl-item').eq(i);
        if( $slide.find('.yith_featured_content').length > 0 ) {
            // Get video ID and play it
        }
    });

    Kind Regards

Viewing 10 posts - 1 through 10 (of 10 total)