Plyr: Playback not working on mobile (click obscured by poster elem)

Created on 8 May 2018  路  6Comments  路  Source: sampotts/plyr

Expected behaviour

Expect video to play when clicking play on iOS mobile Chrome.

Actual behaviour

Video does not play. Play button animation happens.

Environment

  • Browser: Chrome
  • Version: 66.0.3359.122
  • Operating System: iOS
  • Version: 11.3

Steps to reproduce

  • Click play on player

Most helpful comment

@mhluska @friday It's now released in v3.3.7 馃憤

All 6 comments

Which video type? I can't replicate on https://plyr.io for HTML5, YouTube or Vimeo.

The video type is webm. The first <source> tag is webm and the second is mp4 as a fallback.

As I say I can't replicate on the demo site. Could you link to the player with the issue? Any errors in the console perhaps?

@sampotts I've noticed that if I go into the DOM using the Safari remote debugger and manually delete the .plyr__poster element, the video is able to play.

I've added the following hack to fix this bug:

.plyr__poster {
  pointer-events: none;
}

@mhluska Your fix will be included in the next plyr release. In the meanwhile you have to keep that in your css 馃憤

@mhluska @friday It's now released in v3.3.7 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frumbert picture frumbert  路  3Comments

osamay picture osamay  路  4Comments

Lycanthrope picture Lycanthrope  路  4Comments

Zsavajji picture Zsavajji  路  3Comments

Generalomosco picture Generalomosco  路  3Comments