在html5视频控制中播放mp4视频时遇到的问题 [英] Problem Facing in playing mp4 video in html5 video control

查看:52
本文介绍了在html5视频控制中播放mp4视频时遇到的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其实我正在使用HTML5视频控制播放我服务器中的mp4视频。但是这里的问题是视频将通过手机(Iphone,Android)保存到我的服务器中.iPhone拍摄的视频正在播放HTML5视频控制,但Android播放的视频不能播放HTML5是否有必要将视频转换为播放但是这两个视频都只是mp4格式。下面是我的代码



视频没有在html5视频控制中播放(Android拍摄的视频)



 <   video     width   ='  300'    height   ='  200'    controls  >  
< source src = https:/ /uat.priorusmed.com/PtImages//btest-cscan//Priorus-1394878534693.mp4\" / >
< / video >







在html5视频控制中播放的视频(由iPhone拍摄的视频)



< pre lang =xml> < video width =' 300' < span class =code-attribute> height =' 200' controls > ;
< source <跨度class =code-attribute> src = https://uat.priorusmed.com/PtImages /YYang-Cscan/Priorus-1394881273.mp4\" / >
< / video >







有可能吗?

解决方案

Actually i am using HTML5 video control to play mp4 videos which is in my server. but here problem is the videos will save into my server by mobiles (Iphone,Android).the video taken by IPhone is playing in HTML5 video control but the video taken bu Android is not playing in HTML5 is there any necessary to convert videos to play.but here both videos are mp4 format only. below is my code

the video not playing in html5 video control (the video taken by Android)

<video width='300' height='200' controls>
<source src="https://uat.priorusmed.com/PtImages//btest-cscan//Priorus-1394878534693.mp4" />
</video>




the video playing in html5 video control (the video taken by IPhone)

<video width='300' height='200' controls>
<source src="https://uat.priorusmed.com/PtImages/YYang-Cscan/Priorus-1394881273.mp4" />
</video>




Is it possible ?

解决方案

这篇关于在html5视频控制中播放mp4视频时遇到的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆