javascript - Vimeo 视频自动播放在 iPhone 上不起作用
问题描述
我有一个登陆页面,我在其中添加了背景视频。该视频托管在vimeo平台上。
视频自动播放完全适用于除 iPhone 移动设备之外的所有设备。所以请建议我在 iPhone 手机上自动播放背景视频的解决方案。
请检查以下 iFrame 代码 -
<iframe src="https://player.vimeo.com/video/479105292?autoplay=1&background=1&hd=1&loop=1&title=0&byline=0&portrait=0&muted=1&playsinline=1" frameborder="0" data-fullscreeneo="" frameborder="0"allow="autoplay; fullscreen" fullscreen webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
解决方案
推荐阅读
- android - jetpack compose:如何强制某些屏幕的方向
- flutter - Flutter 上的免费自动完成地图
- jupyter - 为什么我的环境中有 `jupyter lab` 和 `jupyter-lab` 命令?
- linux - 在 devcontainer 中运行多个阻塞命令
- html - 在几个分组中分组一对复选框
- mysql - 搜索 A 或 B 列中是否存在值 X 和 Y [SQL]
- gitlab - GitLab 无法激活 gitlab-kas
- javascript - 如何创建具有安全性的 npm 包
- amazon-web-services - 从 AWS Lambda 函数中删除层
- php - 路线 [admin.editcategory] 未定义