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.
Problem with YouTube iframe
in HTML/XHTML
Posted
I have a web page with a YouTube video inside an iframe tag as follows:
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