aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings/settings.js
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2019-01-31 21:19:41 +0200
committershpuld <shp@cock.li>2019-01-31 21:19:41 +0200
commita8c6b3f538dc97b93411213f72e90c16156f3926 (patch)
tree6df71f157130f7baea10a2296a7f85740002d749 /src/components/settings/settings.js
parentfbe7af3d56e4e6e168208a511bd7cd4e4e4e7a40 (diff)
Change video playing default without bothering making it an instance configurable
Diffstat (limited to 'src/components/settings/settings.js')
-rw-r--r--src/components/settings/settings.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js
index 06011e7c..7353b0e4 100644
--- a/src/components/settings/settings.js
+++ b/src/components/settings/settings.js
@@ -66,7 +66,7 @@ const settings = {
Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'webkitAudioDecodedByteCount') ||
// Future spec, still not supported in Nightly 63 as of 08/2018
Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'audioTracks'),
- playVideosInline: user.playVideosInline,
+ playVideosInModal: user.playVideosInModal,
useContainFit: user.useContainFit
}
},
@@ -164,8 +164,8 @@ const settings = {
this.$store.dispatch('setOption', { name: 'webPushNotifications', value })
if (value) this.$store.dispatch('registerPushNotifications')
},
- playVideosInline (value) {
- this.$store.dispatch('setOption', { name: 'playVideosInline', value })
+ playVideosInModal (value) {
+ this.$store.dispatch('setOption', { name: 'playVideosInModal', value })
},
useContainFit (value) {
this.$store.dispatch('setOption', { name: 'useContainFit', value })