Hello, when sharing for example Videos with links, I wanted to be able to create a rich preview, where an application like WhatsApp, Discord etc. would be able to display the video without having the need to open the link.
This is an example, of what I want to achieve. Here you could play the Video within the Application.
This is what it looks like now, when you share a Video via the link.
When you get a shared link for a Video, Nextcloud loads this template:
server/layout.public.php at master · nextcloud/server · GitHub
On Line 28 it gets the headers from this call:
<?php print_unescaped($_['headers']); ?>
My Question is now, from where is this coming from, so I could change it to my desire.
I’m not too familiar with PHP, so I couldn’t figure it by myself.