<div style="position: fixed; z-index: 1000; width: 100%; height: 100%">
<iframe frameborder="0" height="100%" width="100%"
src="https://www.youtube.com/embed/aQsy17K84Ls?autoplay=1&controls=0&showinfo=0&autohide=1&rel=0&showinfo=0&iv_load_policy=3">
</iframe>
</div>
当我使用上面的代码,我得到屏幕左侧和底部的白色区域。 我试过宽度和高度,但不起作用。 如何让视频绝对全屏?Youtube嵌入式视频白色区域
适合我。检查检查员,它可能从其他文件获取CSS。你可以分享链接或小提琴吗? – tech2017