sampotts/plyr

Video not play on standard browser in Android

Open

#952 建立於 2018年5月9日

在 GitHub 查看
 (12 留言) (0 反應) (0 負責人)JavaScript (25,318 star) (2,856 fork)batch import
Help Wanted

描述

Expected behaviour

Video should be able to auto-play or at least having "Play" button to tap for toggle play/pause

Actual behaviour

Video seems to be loaded (could see default control on few second), but there is no "Play" button to tap for play/pause this video. I've tested on various browsers and also in iPhone, other browsers work well except this standard browser on Android

Environment

  • Script: Plyr v3.3.7
  • Browser: Standard Browser v2.2.2.80
  • Operating System: Android v5.0

Steps to reproduce

  • 5 video types i.e. MP4, WebM, OGV, WMV, 3GP

  • Using standard HTML5 video tag

  • Include CSS/JS of Plyr v3.3.7 i.e. <link rel="stylesheet" href="https://cdn.plyr.io/3.3.7/plyr.css"> <script src="https://cdn.plyr.io/3.3.7/plyr.js"></script>

  • Set JavaScript for assign script to video <script> const player = new Plyr("#video",{ autoplay: true, clickToPlay: true, controls: ["play-large"] }); </script>

  • Also add attribute to as
    data-plyr="{autoplay:true, clickToPlay:true, controls:['play-large']}"

貢獻者指南