html5 videos not showing controls on android once loaded

雨燕双飞 提交于 2020-01-01 19:29:13

问题


Good day. I am currently working on a hybrid app using framework7 which has an html5 video. The video works fine and loads just ok but whenever the video goes on fullscreen or the controls disappear from the video player interface it wont show up again when I press the video playing. I am using <video width="100%" height="auto" controls </video>. Would there be a way to fix this or is this a limitation on the hybrid app itself? Thank you for your help.


回答1:


That issue is caused by fastclick. Add class no-fastclick to your video tag and it will solve your issue.



来源:https://stackoverflow.com/questions/41558500/html5-videos-not-showing-controls-on-android-once-loaded

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!