iframe not shown in JEditorPane

407 Views Asked by At

I have a JEditorPane where i load some HTML inside. But if there is a iframe with a youtube-video in the HTML-code, it will not show.

<p><iframe width="900" height="506" src="//www.youtube.com/embed/tMWq0QIYQ-s" frameborder="0" allowfullscreen></iframe></p>

As you see, there is a youtube-video inside that iframe. But it doesn't show up in my JEditorpane.

0

There are 0 best solutions below