Commit 125782ea authored by Anton's avatar Anton

Make volume panel control configurable in VideoPlayer

parent a7d2810b
......@@ -53,6 +53,7 @@
poster: undefined,
controlBar: this.noControls ? undefined : {
remainingTime: true,
volumePanel: !this.noVolumePanel,
fullscreenToggle: !this.noFullscreen
},
plugins: this.fineControls ? {
......@@ -70,7 +71,7 @@
}
}
},
props: ['src', 'annotation', 'autoplay', 'playbackRates', 'noControls', 'noFullscreen', 'fineControls'],
props: ['src', 'annotation', 'autoplay', 'playbackRates', 'noControls', 'noFullscreen', 'noVolumePanel', 'fineControls'],
async mounted () {
await this.getSource(this.src, this.annotation)
},
......@@ -177,9 +178,6 @@
.video-js .vjs-control-bar .vjs-slider
background-color rgba(255,255,255,0.333)
.video-js .vjs-control-bar .vjs-volume-panel
display none
.video-js .vjs-control-bar .vjs-play-control .vjs-icon-placeholder:before
line-height 40px
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment