モバイル側のビデオ互換性を知っておく必要がある点

3967 ワード

    <video  
    :src="item"   
    loop       
    poster="http://image3.xyzs.com/upload/e1/7c/1440551648673169/20150827/144067879418296_0.jpg" 
    webkit-playsinline="true" 
    x5-playsinline="" 
    x5-video-player-type="h5" 
    x5-video-player-fullscreen="true" 
    playsinline="true" preload="auto" 
    x-webkit-airplay="allow" 
    x5-video-orientation="portrait" 
    @click="ff1">
   video>
   <script>
       ff1 () {
      document.querySelector('video').play()
    },
   script>