Add timeDisplay to player

This commit is contained in:
Omar Roth 2018-08-05 08:58:03 -05:00
parent d75d34abdd
commit 06af43c95e
3 changed files with 43 additions and 31 deletions

View File

@ -179,3 +179,9 @@ div {
.video-js:hover .vjs-big-play-button {
background-color: rgba(35, 35, 35, 0.75);
}
.video-js .vjs-current-time,
.video-js .vjs-time-divider,
.video-js .vjs-duration {
display: block;
}

View File

@ -69,14 +69,17 @@ var options = {
children: [
'playToggle',
'volumePanel',
'currentTimeDisplay',
'timeDivider',
'durationDisplay',
'progressControl',
'remainingTimeDisplay',
'captionsButton',
'qualitySelector',
'playbackRateMenuButton',
'fullscreenToggle',
],
},
'fullscreenToggle'
]
}
};
var shareOptions = {

View File

@ -78,14 +78,17 @@ var options = {
children: [
'playToggle',
'volumePanel',
'currentTimeDisplay',
'timeDivider',
'durationDisplay',
'progressControl',
'remainingTimeDisplay',
'captionsButton',
'qualitySelector',
'playbackRateMenuButton',
'fullscreenToggle',
],
},
'fullscreenToggle'
]
}
};
var shareOptions = {