javascript - IOS Low Power mode stops video autoplay in react
问题描述
I am developing a website and I am using a video as my hero container in my main page. The video is set to autoplay as soon as the page loads. On IOS low battery mode, I found out that it stops video autoplay in order to save battery life. What are my possible solutions to fix this problem.
The play button is shown on the video. Is it possible to force the video to play or even hide the playbutton of the video? Is there any event listeners that work aside from suspend because that did not work for me.
解决方案
推荐阅读
- c# - 是否有 NuGet 包或内置方法可以使用 c# 将字符串转换为另一个有意义的字符串或虚拟数据
- python - Python 电子邮件验证 mx 检查失败
- java - 屏幕锁定时如何使Android手机的麦克风工作
- php - 如何为此代码创建类 DB::table('users')->where("id",1")->get();
- python - 继续从类变量中获取 NameError?
- javascript - 如何使用本机反应显示/渲染来自 mongoDB 的图像?
- swagger - 如何使用springdoc更改swagger授权屏幕上的文本
- javascript - 在 React.js 应用程序中执行 Python 脚本
- c# - 如何使用 ListViewItem 中的按钮从 ListView 中删除对象?
- mongodb - MongoDB查询响应太慢