I use something like
$('ul li').find('iframe').css({'visibility':'visible'});
which works great in Firefox and Opera,
Console Error:
An unsafe JavaScript attempt to access a frame with the URL file: /// D: /Configuracion/Documents%20and%20Settings/TNMC000/Escritorio/player/roundabout/js/round1.htm from the frame with the URL http: // www. youtube.com/embed/hurnoKLuBD8 . Domains, protocols, and ports must be consistent.
Test URL: http://toniweb.us/vimeo-like/js/images.htm
any idea?
-Edit -
I fixed it using
.invisible{ text-indent:-9999px }
and
<div class="iframe"><iframe></iframe></div>
and
$('ul li').find('.iframe').addClass('invisible');
But still I would like to know how to fix this, working only with iframe
jquery visibility security google-chrome iframe
Toni michel caubet
source share