Q and A FAQ and Knowledge Base for WordPress
[Plugin: Q and A - FAQ Plugin] Javascript Security Errors when trying to embed youtube video. (1 post)

  1. T Klein
    Posted 3 years ago #

    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 http://www.thisismywebsite.net/videos/ from frame with URL http://www.youtube.com/embed/27RVJJfny4I?rel=0. Domains, protocols and ports must match.

    Doing a quick Google search brought me here: http://stackoverflow.com/questions/4324108/unsafe-javascript-attempt-to-access-frame-with-url

    explains the problems a bit.



Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic