Merge pull request #680 from leonklingele/add-player-styles

Add support for player styles
This commit is contained in:
Omar Roth
2019-08-09 13:49:51 -05:00
committed by GitHub
7 changed files with 40 additions and 1 deletions

View File

@@ -433,3 +433,22 @@ video.video-js {
.pure-control-group label {
word-wrap: normal;
}
.video-js.player-style-invidious {
/* This is already the default */
}
.video-js.player-style-youtube .vjs-control-bar {
display: flex;
flex-direction: row;
}
.video-js.player-style-youtube .vjs-big-play-button {
/*
Styles copied from video-js.min.css, definition of
.vjs-big-play-centered .vjs-big-play-button
*/
top: 50%;
left: 50%;
margin-top: -.81666em;
margin-left: -1.5em;
}