2014-10-16 472 views
0
<video id="videoHTML5" class="video" width="100%" height="400" poster="img/poster.png" autoplay controls> 
    <source src="http://IP/live/stage.stream/playlist.m3u8" > 
</video> 


<script> 
    var vdo = document.getElementById('videoHTML5'); 
    vdo.src = 'http://IP/live/stage.stream/playlist.m3u8'; 
    vdo.load(); 
    vdo.play(); 
</script> 

从不开始!我需要按下ipad和adroid上的PLAY按钮!html5视频m3u8:如何自动播放视频?

关于如何自动启动m3u8视频的任何想法?

reagards

回答

0

,你可以在你的代码试图自动播放= “真实”