sampotts/plyr

Video not play on standard browser in Android

Open

#952 aperta il 9 mag 2018

Vedi su GitHub
 (12 commenti) (0 reazioni) (0 assegnatari)JavaScript (2856 fork)batch import
Help Wanted

Metriche repository

Star
 (25.318 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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']}"

Guida contributor