video
不全屏、禁止画中画等。
如果是嵌入的 iframe
,使用 allowfullscreen="false"
。
<style> video::-webkit-media-controls-fullscreen-button { display: none !important; } </style>
<video controls style="width: 100%;" id="CommandNotFound" disablePictureInPicture controlslist="nodownload noplaybackrate"> <source src="/assets/command_not_found.mp4" type="video/mp4"> </video>