Youtube video begin but after few second stop?

I am using angular and iframe to play video from youtube.
the video starts but stops after a few seconds for unknown reasons.
I console i see warning:

Some messages have been moved to the Issues panel.
????

also :

Indicate whether a cookie is intended to be set in a cross-site context by specifying its SameSite attribute

Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute

I don’t idea what is this?

Code:

        <iframe class="video-iframe" width="560" height="315" [src]="getEmbedUrl(data.activityUrl)" frameborder="0" allowfullscreen>
        </iframe>


   getEmbedUrl(item){ 
    var getOnlyKey = item.substring(item.lastIndexOf("=") + 1);  
    return this._sanitizer.bypassSecurityTrustResourceUrl(`https://www.youtube.com/embed/${getOnlyKey}`);
   }

Source: Angular Questions