Update video player to remove default big play button shown when paused (#1270)
This commit is contained in:
parent
c6be835502
commit
754a4a8aa3
|
@ -221,6 +221,9 @@ export default Vue.extend({
|
||||||
|
|
||||||
this.player.volume(this.volume)
|
this.player.volume(this.volume)
|
||||||
this.player.playbackRate(this.defaultPlayback)
|
this.player.playbackRate(this.defaultPlayback)
|
||||||
|
// Remove big play button
|
||||||
|
// https://github.com/videojs/video.js/blob/v7.12.1/docs/guides/components.md#basic-example
|
||||||
|
this.player.removeChild('BigPlayButton')
|
||||||
|
|
||||||
if (this.storyboardSrc !== '') {
|
if (this.storyboardSrc !== '') {
|
||||||
this.player.vttThumbnails({
|
this.player.vttThumbnails({
|
||||||
|
|
Loading…
Reference in New Issue