I have a web page with a YouTube video inside an iframe tag as follows:
<iframe
class = "<any class here>"
id = "YTVideo"
src = "http://www.youtube.com/embed/<any YouTube id>?autoplay=0">
</iframe>
But I am getting an error in the Google Chrome console:
Blocked a frame with origin "http://www.youtube.com" from accessing a frame with origin "http://www.mywebsite.com". Protocols, domains, and ports must match.
I have tried FireFox and such an error does not appear.
I will appreciate any comments.
Respectfully,
Jorge Maldonado