Why does Youtube Block Video Modals In Chrome And Firefox - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Why does Youtube Block Video Modals In Chrome And Firefox

Mark Simon

Mark Simon

SP Page Builder 3 years ago

Hi I get this error when I attempt to open a video modal on both Firefox and Chrome.

Firefox Can’t Open This Page

To protect your security, www.youtube.com will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.

Learn more…

Report errors like this to help Mozilla identify and block malicious sites

0
1 Answers
Ariba
Ariba
Accepted Answer
Support Agent 3 years ago #70004

Hello

This can be fixed by using the correct code to embed a YouTube video. You can't use a direct link like https://youtu.be/EQxd_cowXPg as that makes YouTube send a X-FRAME-OPTIONS header that denies this. You need to use a https://www.youtube.com/embed/ link to make embedding work. You can check out the solutions here:

https://support.mozilla.org/km/questions/1348764

https://support.mozilla.org/en-US/kb/xframe-neterror-page

0