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 options = {
controlBar: {
skipButtons: {
forward: 5,
backward: 5,
},
volumePanel: {},
playbackRateButton: {},
currentTimeDisplay: {},
timeDivider: {},
durationDisplay: {},
remainingTimeDisplay: {},
progressControl: {},
liveDisplay: {},
customControlSpacer: {},
playToggle: {},
fullscreenToggle: {},
},
html5: {
nativeTextTracks: false,