fix: properly set video control bar properties

pull/3895/head
Cezar Carneiro 2025-05-10 11:11:08 +02:00 committed by Henrique Dias
parent f32f27383d
commit f306f210e0
1 changed files with 11 additions and 4 deletions

View File

@ -93,10 +93,17 @@ const initVideoPlayer = async () => {
const getOptions = (...srcOpt: any[]) => { const getOptions = (...srcOpt: any[]) => {
const options = { const options = {
controlBar: { controlBar: {
skipButtons: { volumePanel: {},
forward: 5, playbackRateButton: {},
backward: 5, currentTimeDisplay: {},
}, timeDivider: {},
durationDisplay: {},
remainingTimeDisplay: {},
progressControl: {},
liveDisplay: {},
customControlSpacer: {},
playToggle: {},
fullscreenToggle: {},
}, },
html5: { html5: {
nativeTextTracks: false, nativeTextTracks: false,