[Plugin: Q and A – FAQ Plugin] Javascript Security Errors when trying to embed youtube video.
-
Using the new youtube embed code if I make a new faq, and put the embed code in there, it will give a javascript error on the page. This only happens using youtube’s default “new” embed code, with the iframes. If you use the old embed code it works fine, because it doesn’t use Iframes.
Unsafe JavaScript attempt to access frame with URL https://www.thisismywebsite.net/videos/ from frame with URL https://www.youtube.com/embed/27RVJJfny4I?rel=0. Domains, protocols and ports must match.
Doing a quick Google search brought me here: https://stackoverflow.com/questions/4324108/unsafe-javascript-attempt-to-access-frame-with-url
explains the problems a bit.
Thanks!
- The topic ‘[Plugin: Q and A – FAQ Plugin] Javascript Security Errors when trying to embed youtube video.’ is closed to new replies.