• amddtim

    (@amddtim)


    I have an HTML5 video element set to autoplay on my homepage which was working fine prior to implementing this plugin. With this plugin on, it still autoplays occasionally (like on a hard page refresh), but most of the time it doesn’t play at all. In the browser console, I see the following message when the video doesn’t play:

    Range request for https://cdn.mattconstruction.com/wp-content/uploads/2019/06/matt-video-intro-above-optimized.mp4 , starting position: 524288

    where the ‘starting position’ number can vary.

    The url is https://www.mattconstruction.com/ . Any thoughts on why this might be happening and how I can fix?

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

    (@magazine3)

    We have checked your website URL. are you checking it on desktop/mobile? because we didn’t see any error over there in your site and also can you please share some screenshots regarding this?

    Thread Starter amddtim

    (@amddtim)

    Sorry, I had to implement a quick fix on the live site because I couldn’t deal with the missing video. I temporarily told the plugin to bypass the cache for the video url, which is why you can’t replicate it now. It’s a temporary solution.

    You can have a look at the staging site https://mattcstag.wpengine.com/ that’s doing the same thing. I think the issue is when a user doesn’t let the whole video play/load and navigates away from the page. The service worker saves a chunk of the video as a range request, but when a user returns to the home page, the worker is not able to play the video because it doesn’t have all the video data cached.

    (btw, not sure how to share screenshots on here. But basically, the hero area is black, instead of playing a video)

    • This reply was modified 3 years ago by amddtim.
    Plugin Author Magazine3

    (@magazine3)

    You can share screenshots through Google drive sharable link

    Thread Starter amddtim

    (@amddtim)

    Plugin Author Magazine3

    (@magazine3)

    We checked it from our end and it’s perfectly working without a hard refresh: https://prnt.sc/1178yco

    Can you please re-check it once and let us know back?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HMTL5 Video Autoplay’ is closed to new replies.