Faced a problem when I insert a video from YouTube into the background of the site, it turns out that the adblocker hides it and simply has nothing to do in the background. I insert in this way:

<div id="video_background" class="video_bg"> <a class="player" data-property="{videoURL:'https://youtu.be/D061rsSisds', containment:'body', autoPlay:true, mute:true, quality: 'small', startAt:0, showControls:false, opacity:1}"></a> </div> 

and in the console on the site gives the following:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided (' https://www.youtube.com ') doesn’t have to match

Failed to load resource: net :: ERR_BLOCKED_BY_CLIENT

Help to understand what the problem of such embedding?

    0