简体   繁体   English

在浏览器iPhone和iPad上播放视频

[英]Play video on browser iphone and ipad

I am trying to play video on browser using video tag in openwrt router, everything is working perfect in android devices, but in iOS its only showing play button. 我正在尝试使用openwrt路由器中的video标签在浏览器上播放视频,在android设备中一切正常,但是在iOS中它仅显示播放按钮。 Nothing processed when clicked on play button. 当点击播放按钮时,没有任何处理。

<video loop autoplay controls="true" width='50%' height='50%' src="xyz.mp4" type='video/mp4'></video>

Please help me in this it will be great appreciation. 请帮助我,将不胜感激。
Thanks in advance. 提前致谢。

I solved this by installing nginx server, apple phones use byte code method to load videos and I was using uhttpd in my openwrt, and it does not support byte code method. 我通过安装nginx服务器解决了这个问题,苹果手机使用字节码方法加载视频,而我在openwrt中使用uhttpd,它不支持字节码方法。 So, I installed nginx server in it and now its working like a charm. 因此,我在其中安装了nginx服务器,现在它的运行就像一个魅力。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM