关闭Safari iOS的特殊视频模式

发布于 2025-02-11 04:03:49 字数 380 浏览 2 评论 0原文

当我使用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):

iPhone 13 iOS v15.5 from Browserstack

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

毁梦 2025-02-18 04:03:49

我现在在这里找到答案: 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文