From cb591dac0c0b68d6d501d68e3ec952dcceb71bf0 Mon Sep 17 00:00:00 2001 From: Joel Mbugua Date: Tue, 21 Jun 2016 21:59:00 +0300 Subject: [PATCH] Make the player button clickable on small videos If you set the plyr video to width of 300px, the plyr__controls overlays the play centered play button such that you can't click on the play button. Adding a z-index on the plyr .plyr__play-large fixes that. --- src/scss/plyr.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scss/plyr.scss b/src/scss/plyr.scss index 5c75c6fb..a06376d6 100644 --- a/src/scss/plyr.scss +++ b/src/scss/plyr.scss @@ -397,6 +397,7 @@ } .plyr .plyr__play-large { display: inline-block; + z-index: 1; } .plyr--audio .plyr__play-large { display: none;