Commit 2383ff63 authored by Anton's avatar Anton

Add noFullscreen prop to VideoPlayer

parent fafb171e
......@@ -52,7 +52,8 @@
sources: [],
poster: undefined,
controlBar: this.noControls ? undefined : {
remainingTime: true
remainingTime: true,
fullscreenToggle: !this.noFullscreen
},
plugins: this.fineControls ? {
// TODO: implement our own vesion of this to remove dependency
......@@ -69,7 +70,7 @@
}
}
},
props: ['src', 'annotation', 'autoplay', 'playbackRates', 'noControls', 'fineControls'],
props: ['src', 'annotation', 'autoplay', 'playbackRates', 'noControls', 'noFullscreen', 'fineControls'],
async mounted () {
await this.getSource(this.src, this.annotation)
},
......
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