Im getting this error:
Unsafe JavaScript attempt to access frame with URL "URL1" from frame with URL "URL2". Domains, protocols and ports must match.
What I try to do is to insert into my html page iframe (embed youtube video) but link is taken from database on the server side. during rendering site. Its property. Is it really wrong, should I do it in different way ?
thanks for help
EDIT:
I just set url=<%= VideoLink %> in my iframe. This is asp.net code property so I do believe its good question
Ok I even decided to set static link, know the source look like this and error still appears:
<iframe runat="server" ID="iframeYouTubeMini" title="YouTube video player" class="youtube-player" width="152" height="107" src="http://www.youtube.com/embed/test?controls=0" frameborder="0" allowfullscreen></iframe>