兼容移动端的视频播放器代码

2492
HTML:代码
<video controls="controls" autoplay="autoplay" poster="screen.jpg" onplay="ture" width="592" height="252" onclick="if(/Android/.test(navigator.userAgent))this.play();">
  <source src="http://on6zszypg.bkt.clouddn.com/RE_Timelapse_Loop_v1_BlackWash70_Med-PUMO.mp4">
  <source src="http://on6zszypg.bkt.clouddn.com/RE_Timelapse_Loop_v1_BlackWash70_Med-PUMO.mp4" type="video/mp4">
  <source src="http://on6zszypg.bkt.clouddn.com/RE_Timelapse_Loop_v1_BlackWash70_Med-PUMO.mp4" type="video/webm">
  <source src="http://on6zszypg.bkt.clouddn.com/RE_Timelapse_Loop_v1_BlackWash70_Med-PUMO.mp4" type="video/ogg">
</video>

QQ截图20170622153309.png