Theatre mode icon accounts for default theatre mode being ignored when switching between videos (#1632)

This commit is contained in:
Jason 2021-09-02 13:22:06 -05:00 committed by GitHub
parent 48493d12f4
commit c3105f46e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -165,10 +165,6 @@ export default Vue.extend({
return this.$store.getters.getDefaultVideoFormat
},
defaultTheatreMode: function () {
return this.$store.getters.getDefaultTheatreMode
},
autoplayVideos: function () {
return this.$store.getters.getAutoplayVideos
},
@ -982,7 +978,7 @@ export default Vue.extend({
return
}
const theatreModeActive = this.defaultTheatreMode ? ' vjs-icon-theatre-active' : ''
const theatreModeActive = this.$parent.useTheatreMode ? ' vjs-icon-theatre-active' : ''
const VjsButton = videojs.getComponent('Button')
const toggleTheatreModeButton = videojs.extend(VjsButton, {