• Resolved dgrcomms

    (@dgrcomms)


    Hello!

    Love your plugin, thank you. We have added the video as per instructions but on a mobile version of the site the video does not play. We have it set to loop and automatically play.

    Thanks
    Ginnie

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there @dgrcomms,

    Really sorry for the delayed reply!

    Thank you for your kind words here. As per my testing this wasn’t the case maybe something specific to any browser.

    If possible could you please tell me a bit about this issue such as which browser you’re using on your phone to test this and try updating to the latest version 0.5.0, and let me know if the issue still persists.

    Hope this helps ??

    this plugin is gold!
    unfortunately I can confirm it’s not working on mobile.
    I’ve tested it on iPhone iOS 14.7 – chrome / safari / google app

    Apparently you only need the playsinline attribute…does your plugin come with that?
    are you going to update it in case? or shall we try to hardcode it?

    thanks!

    First of all, I want to thank you for this module, it does simply wht it has to ??

    I found also that it is not working on apple devices, but hardcoded the “playsinline” attribute on the video tag and now it is working but not all devices. I think that it can be something related to different versions of OS or device.

    In my case, it is in “autoplay&loop” mode as the video is a short one to feature a products on my site.

    I added the “playsinline” in Shortcode.php line 86:
    return '<video class="rsfv-video" id="rsfv-video-' . $post->ID . '" src="' . $video_url . '" style="max-width:100%;display:block;"' . "{$has_controls} {$is_autoplay} {$is_loop} {$is_muted} {$is_pip}" . ' playsinline ></video>'

    Also added in ForntEnd.php line 119:
    $html = '<div class="woocommerce-product-gallery__image rsfv-video__wrapper" data-thumb="' . RSFV_PLUGIN_URL . 'assets/images/video_frame.png"><video class="rsfv-video" id="rsfv_video_' . $product->get_id() . '" src="' . $video_url . '" style="max-width:100%;display:block;"' . "{$has_controls} {$is_autoplay} {$is_loop} {$is_muted} {$is_pip}" . ' playsinline ></video></div>' . $html;

    I think it has to be mandatory to has this property by default in oreder to work in most devices as possible.

    Thanks again!

    i’ve followed previous suggestions and it works fine on all devices.
    only thing is: it does not replace featured image but simply add video before featured image in product page.
    also it does not show in shop page, but only in product page.

    maybe it’s due to latest WP and Woo updates.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Video no playing on mobile’ is closed to new replies.