javascript - Uncaught Error: Error calling method on NPObject Error with embedded Youtube Video -


i have html page embedd youtube video following code:

<iframe width="600"       height="338"       src="http://www.youtube-nocookie.com/embed/auhdhfghhahly?autohide=1&amp;theme=light&loop=1&playlist=edkaijxqwhq&amp;hd=1&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0&amp;wmode=transparent&amp;autoplay=1" > </iframe> 

the video runs fine, following error in console.

blocked frame origin "https://www.youtube-nocookie.com" accessing frame origin "http://www.domain.com".  frame requesting access has protocol of "https", frame being accessed has protocol of "http". protocols must match. 

uncaught error: error calling method on npobject.

how can avoid error?

"youtube-nocookie.com" redirects http request https uses sources inside of page, not secure. if don't have access source of "youtube-nocookie.com" there nothing can do. if have, use https sources or prevent redirect https.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -