Make iframes content overflow outside iframe extents

后端 未结 3 1301
灰色年华
灰色年华 2021-02-19 06:50

I have a webpage that contains an iframe. Inside that iframe is an embedded Youtube video. When I play this video I make it scale up (grow) in size. As

3条回答
  •  臣服心动
    2021-02-19 07:29

    No, it isn't possible...

    The document from iframe is a completely another document, and the browser security will not let you to do this...

    Edit: you can use fullscreen property using transparent background color for container and put there your embedded video.

    The fullscreen code was described in this answer.

提交回复
热议问题