Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Iframe SandBox is blocking embed object

Tags:

iframe

sandbox

Hy here is a examle Example Why when i use

<IFRAME sandbox="allow-forms allow-scripts" SRC="http://roshare.info/embedx-xcnvxz71l8fb-699x380.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=699 HEIGHT=400></IFRAME>

sandbox i dont see the player .. i want to use sandbox just to block pop-ups but looks like if i use it i dont see the player is there any allow-objects ?

I have also a no sandbox example on that page and it works ..

like image 264
VicToR Sava Avatar asked Mar 05 '13 21:03

VicToR Sava


1 Answers

You're correct. The sandbox will block plugin content inside the frame. Unlike other aspects of the sandbox, there is no mechanism for enabling plugins inside a sandboxed iframe. http://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/#granular-control-over-capabilities has more detail if you're curious.

like image 178
Mike West Avatar answered Sep 28 '22 11:09

Mike West