I'm trying to embed a YouTube video with this code:
<iframe width="425" height="319" frameborder="0" wmode="Opaque"allowfullscreen=""
src="http://www.youtube.com/embed/8vJwFvFi4ZY?wmode=transparent">
</iframe>
and although it is working fine, but it gives this error in the console:
Chrome version 22.0.1229.94:
Unsafe JavaScript attempt to access frame with URL http://example.com/
from frame with URL http://www.youtube.com/embed/8vJwFvFi4ZY?wmode=transparent.
Domains, protocols and ports must match.Firefox version 17.0:
Error: Permission denied to access property 'toString'
I searched around but I found that it is probably a YouTube issue and they should solve it,
The question is: how can I get rid of this error? (by any means, even by suppressing it.)