Change video playing default without bothering making it an instance configurable
This commit is contained in:
parent
fbe7af3d56
commit
a8c6b3f538
7 changed files with 14 additions and 17 deletions
|
@ -57,9 +57,9 @@ const Attachment = {
|
|||
}
|
||||
},
|
||||
openModal (event) {
|
||||
const modalTypes = this.$store.state.config.playVideosInline
|
||||
? ['image']
|
||||
: ['image', 'video']
|
||||
const modalTypes = this.$store.state.config.playVideosInModal
|
||||
? ['image', 'video']
|
||||
: ['image']
|
||||
if (fileTypeService.fileMatchesSomeType(modalTypes, this.attachment) ||
|
||||
this.usePlaceHolder
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue