Issue
The following iframe will not render in an ipython-notebook
from IPython.display import HTML
HTML('<iframe src=http://stackoverflow.com width=700 height=350></iframe>')
but, this one will render (note, .com versus .org)
from IPython.display import HTML
HTML('<iframe src=http://stackoverflow.org width=700 height=350></iframe>')
Is there something I am doing wrong in the first example? If this is a bug, where do I submit a bug report?
Solution
You have a "Refused to display document because display forbidden by X-Frame-Options." in javascript console. Some sites explicitly refuse to be displayed in iframes.
Answered By - Matt
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.