Forum Discussion
cant not embed iframe into power bi
When I insert an HTML iframe into the HTML Viewer, if I set the 'src' attribute to 'www.baidu.com', it will be rejected. However, if I set it to 'google.translate', it will display the translation page. Interestingly, when I use my own portal, it just shows a blank page. So I want to make the blank page have sth ,it will be the Same-Origin Policy problem? what can I do to fix it?
9 Replies
- AnonymousNot applicable
Hi little
To help you better, could you please provide me with screenshots that you did? That would be very helpful.
Best Regards,
Yulia Xu- little
Helper I
hi, when I user my portal link, will show blank page.
- little
Helper I
hi Anonymous But when I put translate link into iframe, will show page.
- little
Helper I
blank page and show allow-same-origin,even I add sandbox = 'allow-same-origin'. But I tried to fix it a while ago, and he would prompt other errors like 'allow-scirpt'
- little
Helper I
when I add sandbox='allow-same-origin',will show 'allow-scripts' - little
Helper I
But in fact, when I use 'https://cn.bing.com/search?q=translate&PC=U316&FORM=CHROMN' , still show error, but still show page , what should I do?
- little
Helper I
amitchandak lbendlin if can help, appreciate that.
- little
Helper I
And if I use sandbox='allow-scripts allow-same-origin' , will show 'The document is sandboxed and lacks the 'allow-same-origin' flag.'
- little
Helper I
when I use firefox to test, show this error. Maybe is cros problem?