关闭Safari iOS的特殊视频模式
当我使用Safari启动视频时,会出现特殊的全屏模式。我可以禁用或样式吗?
<video src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-576p.mp4"></video>
屏幕截图(iPhone 13 iOS v15.5来自Browserstack):
When I start a video with Safari, a special full-screen mode comes up. Can I disable or style this?
<video src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-576p.mp4"></video>
Screenshot (iPhone 13 iOS v15.5 from Browserstack):
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我现在在这里找到答案: https://webkit.org /blog/6784/new-video-policies-for-ios/
在iPhone上,
&lt; video PlayaySinline&gt;
现在将允许元素播放直列,并且不会自动输入全屏模式当播放开始时。I have now found the answer here: https://webkit.org/blog/6784/new-video-policies-for-ios/
On iPhone,
<video playsinline>
elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.