Youtube embed: Unsafe JavaScript attempt to access frame

后端 未结 5 1052
感动是毒
感动是毒 2020-12-04 16:41

We have a Wicket app with a page that includes an embedded Youtube video. The video embeds and plays fine, but apparently it causes the rest of the page to not render- it se

5条回答
  •  心在旅途
    2020-12-04 16:56

    If you are having an issue resolving that JavaScript error, you can try using YouTube's old embed code. It's an option on every YouTube video once you click on embed. You will not have that error because it does not use iframes. The code would look something like this:

    
        
        
        
        
    
    

    Hope this helps.

提交回复
热议问题