Hide Shadow DOM elements

This commit is contained in:
Sam Potts 2016-06-25 22:33:23 +10:00
parent 98e4c5acea
commit 2fdcc18356
3 changed files with 15 additions and 5 deletions

2
dist/plyr.css vendored

File diff suppressed because one or more lines are too long

View File

@ -203,8 +203,8 @@
// Captions // Captions
// -------------------------------------------------------------- // --------------------------------------------------------------
// Hide default captions // Hide default captions (can't find -moz -ms prefixes)
.plyr video::-webkit-media-text-track-container { .plyr ::-webkit-media-text-track-container {
display: none; display: none;
} }
.plyr__captions { .plyr__captions {
@ -246,6 +246,11 @@
// Controls // Controls
// -------------------------------------------------------------- // --------------------------------------------------------------
// Hide default controls (can't find -moz -ms prefixes)
.plyr ::-webkit-media-controls,
.plyr ::-webkit-media-controls-enclosure {
display: none;
}
// Playback controls // Playback controls
.plyr__controls { .plyr__controls {
display: flex; display: flex;

View File

@ -202,8 +202,8 @@
// Captions // Captions
// -------------------------------------------------------------- // --------------------------------------------------------------
// Hide default captions // Hide default captions (can't find -moz -ms prefixes)
.plyr video::-webkit-media-text-track-container { .plyr ::-webkit-media-text-track-container {
display: none; display: none;
} }
.plyr__captions { .plyr__captions {
@ -245,6 +245,11 @@
// Controls // Controls
// -------------------------------------------------------------- // --------------------------------------------------------------
// Hide default controls (can't find -moz -ms prefixes)
.plyr ::-webkit-media-controls,
.plyr ::-webkit-media-controls-enclosure {
display: none;
}
// Playback controls // Playback controls
.plyr__controls { .plyr__controls {
display: flex; display: flex;