Home Forums WoodMart support forum Product videos are not always played in “mobile version”

Product videos are not always played in “mobile version”

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #552797

    gonzalohuez
    Participant

    when browsing from my website http://celularesenventa.cl using a cell phone. Product videos do not always play. I believe this problem originated after activating the LiteSpeed Cache plugin.
    I would appreciate a solution.

    Link video: https://www.loom.com/share/02d048e5babd48829ba8af95bd10b1cc?sid=aa487905-327a-4b34-bda1-c61017f3eafb

    • This topic was modified 8 months, 3 weeks ago by gonzalohuez.
    • This topic was modified 8 months, 3 weeks ago by gonzalohuez.
    Attachments:
    You must be logged in to view attached files.
    #552814

    gonzalohuez
    Participant

    I just realized that this doesn’t just happen with the mobile version. It also happens in the desktop version. Also, it is not a problem with the LiteSpeed Cache plugin. Since I disabled it and the problem persists. I think this problem is directly related to the template.

    Link video (desktop version): https://www.loom.com/share/bb1db14e61b7417cad8cce32c31e9ebe?sid=d17aa0ae-230d-42b6-9fab-7952659265bf

    this doesn’t always happen. When you do the tests, try different products.

    #552818

    Luke Nielsen
    Keymaster

    Hello,

    Okay, understood. Please, confirm the permission for plugins deactivation, and switching to the parent/default theme. As soon as we complete the testing we will enable it all back, You would better make the full backup of your site. Also, send me access to the admin panel.

    Kind Regards

    #552872

    gonzalohuez
    Participant

    Ready friends, I leave you the necessary data to carry out the tests.

    #553125

    Luke Nielsen
    Keymaster

    Hello,

    Seems that some 3rd party plugins affect the video functionality, without 3rd party plugins it works well, here is a video: https://dropmefiles.com.ua/en/GDMS9s

    I suggest disable all plugins except these ones:

    Elementor or WPBackary
    Woodmart Core
    WooCommerce
    Enable the Parent theme

    Then activate the plugins one by one, checking the issue to detect which one causes the problem.

    Kind Regards

    #553126

    gonzalohuez
    Participant

    Sir, I am not interested in deactivating any plugin on my website. All puglins are necessary for the operation of my store. Please, I ask you for a Solution.

    #553190

    gonzalohuez
    Participant

    Please don’t make any settings on my website. A technician from my work will review and try to resolve the problem. we are in contact.
    Thank you so much.

    #553316

    Luke Nielsen
    Keymaster

    Hello,

    Understood, I will wait for your response.

    Thank you for your time and have a good day!

    Kind Regards

    #556685

    gonzalohuez
    Participant

    Dude, there’s no point. The problem of playing the videos in the mobile version persists (play more than 5 videos and you will notice that the video does not load later). This also happens sometimes on the desktop version of my website: http://celularesenventa.cl

    Link video (mobile version): https://www.loom.com/share/02d048e5babd48829ba8af95bd10b1cc?sid=aa487905-327a-4b34-bda1-c61017f3eafb

    Link video (desktop version): https://www.loom.com/share/bb1db14e61b7417cad8cce32c31e9ebe?sid=d17aa0ae-230d-42b6-9fab-7952659265bf

    I leave you the access information to my WordPress so you can solve this problem that has me crazy, please.

    #556886

    Luke Nielsen
    Keymaster

    Hello,

    Please add the following code in the “On document ready” area in Theme Settings -> Custom JS:

    if ( document.querySelector('.woocommerce-product-gallery .wd-carousel-item.wd-with-video') ) {
    	const tag = document.createElement( 'script' );
    	tag.src = '//www.youtube.com/iframe_api';
    
    	const firstScriptTag = document.getElementsByTagName( 'script' )[0];
    	firstScriptTag.parentNode.insertBefore( tag, firstScriptTag );
    }

    Then clear the cache and recheck the issue.

    Kind Regards

    #556888

    gonzalohuez
    Participant

    It works like a charm. Thank you very much dear Luke!

    #557235

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! If you do not mind, can you please leave a 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in the future. It would encourage our work a lot.

    Have a good day!

    Kind Regards

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

The topic ‘Product videos are not always played in “mobile version”’ is closed to new replies.