Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video preview cannot be disabled #408

Open
hueneburg opened this issue Apr 19, 2021 · 1 comment
Open

Video preview cannot be disabled #408

hueneburg opened this issue Apr 19, 2021 · 1 comment

Comments

@hueneburg
Copy link

I have the following elements in the enabledPreviewProviders field:

'enabledPreviewProviders' => [
    'OC\Preview\PNG',
    'OC\Preview\JPEG',
    'OC\Preview\GIF',
    'OC\Preview\TXT'
  ]

But I am still able to play videos...

@hueneburg
Copy link
Author

I found the problem:

"mimetypes": [
"video/mp4",
"video/ogg",
"video/webm",
"video/quicktime"
]

This enables the mimetypes for videos automatically and a user cannot disable them. I now needed to build the app myself, which shouldn't be the solution for this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant