Viewing 8 replies - 1 through 8 (of 8 total)
  • I also have this problem, using chrome.

    Thread Starter Perry Johnson

    (@perry-johnson)

    Apparently this isn’t a bug in the plugin. Perhaps a problem with mediaelement.js? In any case, here’s how I fixed it. I’m open to a better solution though.

    <script>
    window.onpageshow = function(evt) {
        // If persisted then it is in the page cache, force a reload of the page.
        if (evt.persisted) {
            document.body.style.display = "none";
            location.reload();
        }
    };
    </script>

    Thanks for the head’s up. Sorry if it’s a noob question, but where are you inserting that script? In your mediaelement.js?

    Thanks,

    Thread Starter Perry Johnson

    (@perry-johnson)

    I put that script in the bottom of the page. You could put it in a template or in the footer I suppose.

    Thanks for the efforts, but that’s not working for me. I’m not getting a forced reload either. Would love to figure this little guy out.

    This is not working for me either. Anyone who can help with this? We publish many videos in the blog and this could become a major issue for us.

    I’m having a somewhat similar problem where it loads when I click back but it loads one video over and over again for every single post, rather than each post’s individual post. It only happens in Chrome. Is anyone else having this problem? Have you found a solution?

    Plugin Author Alex

    (@ahoereth)

    Can’t reproduce this in Firefox so I won’t attempt to fix this using a hack for the moment. Local/mediaelement videos seem to work fine so it probably is a iframe bug.

    Related, duplicate: https://www.ads-software.com/support/topic/videos-being-replaced-by-same-video

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Video doesn't load after revisiting page with back button’ is closed to new replies.