If i get the second link (e.g. from e-mail) i would not test the link without “/download”.
Because of Javascript i think there is also no big performance issue for playing video in Nextcloud. The video must be downloaded in both cases. In Nextcloud perhaps not the full video.
Thank you for your help.
I run NC on a Raspberry PI4 and if the Users start to play the Video, they only hear the Sound so i want to prevent the Video Playback.
Could i do this with changing the mimetypes for example?
OK i copied mimetypemapping.dist.json to resources/config and named it mimetypemapping.json.
But when i change the mp4 Parameter to this for example: [“application/internet-shortcut”] and then run this command: occ maintenance:mimetype:update-js
the settings should be active, right?
But when i click on an mp4 File the Video Playback starts again…
OK so i made an extra File in this directory nextcloud/config/mimetypealiases.json
But the Changes do not affect, maybe i am doing it wrong?
The Content of the File looks like this:
Now i got it!
The Content of the File stayed the same and when i deleted my Files and reuploaded they now get downloaded directly.
Thank you for your help @devnull
OK it works on my Desktop Browser and on my iPhone at Safari and not in FF or Chrome on mobile Devices. I don’t get it but i think that’s enough for me ^^
That also don’t work for me.
Even when i delete every Entry with “video” in that file the results don’t change.
That’s a little frustrating ^^
Hi, sorry if I rewrite this old topic …
is there anyone who has managed to solve the problem? …
I too would like to completely disable the streaming video display but even after disabling the NextCloud app player and setting the Mime-Type as suggested by the previous posts Nextcloud continues to display the videos. I would like to make sure to only allow file downloads and not streaming viewing. Is it possible that there is no way to block this function?
I solved. After applying the changes mentioned in the previous posts of this topic I ran a scan with the command:
sudo -u www-data / var / www / nextcloud / occ files: scan --all