Skip to content Skip to sidebar Skip to footer

Html5 Video Strange Rendering Error In Chrome

I'm trying to create something where when a user clicks on a miniature version of a HTML5 video, a popup comes up which shows an enlarged version of the video (kind of like Instagr

Solution 1:

Thanks everyone for the help.

I found out that this is a bug in Chrome.

HTML5 video element request stay pending forever (on chrome)

explains how to fix the problem. It seems that each attribute has to be explicity removed and the src attr of the video must be set to false.

if($('.expanded_source').length>0 && isChrome){ 
            $('.expanded_media').prop('src', false);
            $('.expanded_source').remove(); 
        }
        $('.expanded_media').remove();
        $("#view_media_popup").remove(); 
        $(blanket).remove();    

This apparently closes the socket.

The link also has solutions to how to append multiple HTML5 videos on a page without crashing

Post a Comment for "Html5 Video Strange Rendering Error In Chrome"