function forceYouTube() {

var iframe = document.getElementById('ytplayer');

if (!iframe) return;

var src = iframe.getAttribute('src');

iframe.removeAttribute('loading'); iframe.removeAttribute('data-src'); iframe.removeAttribute('fetchpriority'); iframe.classList.remove('lazyload');

iframe.src = '';

setTimeout(function () { iframe.src = src; }, 100);

}

document.addEventListener('DOMContentLoaded', forceYouTube); window.addEventListener('load', forceYouTube);

})();