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

View File

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