Product videos bugs: Play button doesn’t appear on desktop, preview doesn’t appear on iOS

This topic has 12 replies, 2 voices, and was last updated 1 months, 3 weeks ago ago by alexjourneyworldwide

  • Avatar: alexjourneyworldwide
    alexjourneyworldwide
    Participant
    October 16, 2025 at 17:16

    Hi! Just enabled product videos for one product: https://bohemium.store/product/genie-yoga-pants-turquoise-purple/

    See 2 bugs:

    1. Big Play button (like on mobile) doesn’t appear on desktop (Win, Chrome)
    2. Video preview doesn’t appear on iOS (real device, both Chrome and Safari)

    Please see screenshots.
    How can I fix it?

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    11 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 17, 2025 at 06:57

    Hello @alexjourneyworldwide,

    The video display may vary depending on the device you are using. If you would like the “Play” icon to appear on your desktop browser, you can achieve this by adding some custom CSS, for example:

    .main-images .woocommerce-product-gallery:has(video):before {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 50px;
        content: '\e901';
        font-family: 'xstore-icons';
        font-size: 50px;
        z-index: 999;
        height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-images .woocommerce-product-gallery:has(video) {
        position: relative;
    }
    
    .main-images .woocommerce-product-gallery:has(video:focus):before {
        display: none;
    }

    Could you please check whether the video is displayed correctly on another device?

    Best regards,
    The 8Theme Team

    Avatar: alexjourneyworldwide
    alexjourneyworldwide
    Participant
    October 17, 2025 at 16:26

    Thank you for the provided code, it helped!

    As for the second problem, unfortunately, I have only one real iOS device 🙁

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 17, 2025 at 20:56

    Hello @alexjourneyworldwide,

    We believe that some of your friends or colleagues might make such tests from their devices. We kindly ask you to check the issue from their device and share your feedback with us.

    Best regards,
    The 8Theme Team

    Avatar: alexjourneyworldwide
    alexjourneyworldwide
    Participant
    October 20, 2025 at 06:36

    Hello, Jack! I’ve tested product videos on another iOS device. The result is the same.

    On other devices and browsers, it’s ok, but in iOS, the video preview doesn’t appear on a page load (I see the empty first screen).

    If it is not possible to fix it, how can I make the video position second on mobile devices? Not first or last, but second. Just to avoid users from seeing the empty video frame on the most important store screen.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 20, 2025 at 07:57

    Hello @alexjourneyworldwide,

    Unfortunately, there are no available settings to display the video in the second position on mobile devices. However, you can display it as the last item on mobile devices by adding the following filter to your child theme’s functions.php file:

    add_filter('theme_mod_product_video_position', function($value) { return wp_is_mobile() ? 'last' : $value; });

    Additionally, since it appears that you are using the LiteSpeed Cache plugin, we recommend following the instructions provided here: https://docs.litespeedtech.com/lsws/cp/cpanel/long-run-script/ to set “no abort.” Please also try increasing the max_execution_time value and let us know if this resolves the issue.

    As an alternative, you may choose to disable the video gallery item on mobile devices and display only static images. To do this, copy the file xstore/woocommerce/single-product/product-image.php to xstore-child/woocommerce/single-product/product-image.php and modify it using conditions similar to those shown here: https://gyazo.com/ced0b3f112f30e28774288ae66237b7c (before modification: https://gyazo.com/fd0e338c9e5a6736b109c4013a03ad5a).

    Best regards,
    Jack Richardson
    8Theme Team

    Avatar: alexjourneyworldwide
    alexjourneyworldwide
    Participant
    October 21, 2025 at 14:42

    What script should I set to No abort?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 21, 2025 at 16:16

    Hello @alexjourneyworldwide,

    Could you please review the article mentioned in the previous reply? It provides detailed information about the settings, as shown here: https://gyazo.com/4bd2348da1c2b89042bc37ced7fe0603.

    For optimal configuration, we recommend contacting your hosting provider’s support team, as these questions fall outside the scope of our theme support policy.

    If you have any other questions, please feel free to submit them on our support forum.

    Best regards,
    Jack Richardson
    8Theme Team

    Avatar: alexjourneyworldwide
    alexjourneyworldwide
    Participant
    October 22, 2025 at 18:38

    Hello Jack! Thank you for your reply!

    I checked the server settings together with the support team. The configuration is fine, but they suggested a possible solution since this issue is quite common.

    You can see the suggested fixes here:
    https://www.sitelint.com/blog/fixing-html-video-autoplay-blank-poster-first-frame-and-improving-performance-in-safari-and-ios-devices

    1. Add the playsinline attribute (currently, on Apple devices, the video plays in full-screen mode, which is not very convenient).

    2. Add #t=0.001 at the end of the video file URL for Apple devices.

    3. If possible, add an additional field in the admin panel for manually uploading a preview image, which will be used in the poster attribute.

    I tested the sample videos from the page linked above on my device. The first example (without optimization) is displayed without a preview (similar to how videos appear on my website), while the other examples display correctly.

    It would be great if you could include the improvements from points 1 and 2 in the next patch or let me know how I can implement these changes myself.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 22, 2025 at 19:50

    Hello @alexjourneyworldwide,

    We have copied the xstore/woocommerce/single-product/product-image.php file to xstore-child/woocommerce/single-product/product-image.php and implemented several modifications to complete items 1 and 2 from your request.

    We kindly suggest clearing your browser and Redis cache to check whether this resolves the issue.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: alexjourneyworldwide
    alexjourneyworldwide
    Participant
    October 23, 2025 at 13:03

    Thank you so much, Jack! Now it works perfectly on iOS !

    Avatar: alexjourneyworldwide
    alexjourneyworldwide
    Participant
    October 23, 2025 at 13:03

    Thanks for the support! My topic “Product videos bugs: Play button doesn’t appear on desktop, preview doesn’t appear on iOS” has been successfully resolved.

  • Viewing 12 results - 1 through 12 (of 12 total)

The issue related to '‘Product videos bugs: Play button doesn’t appear on desktop, preview doesn’t appear on iOS’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.