答案给出减分。我解决了问题并得到了负分。多么可笑:)
我测试了这段代码,它对我来说可以全屏工作
测试视频水平
<iframe
width="225"
height="340"
src="https://www.youtube.com/embed/JfVOs4VSpmA?autoplay=1&mute=1"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
></iframe>