Hello Karl,
Sorry for upping this old topic again. But after various tries, I have achieved that my media files will be recognized. I have a similar setup like ali_serhal:
However, for me I was only able to see my media files, by changing the root to something like '../../../../media'
But now I am having similar issue with the videos only being loaded when buffered or similar. As I am having huge video files this does somehow defeat the purpose of having a gallery app.
I am not sure whether the provided steps of yours will also help with my issue, but given my initial description, I have extended my root folder to the path above. I hooked up an external HDD with all the media files and end up with massive loading times, if even.
I am not sure how content-header here is the reason as I am using normal video formats and encoding, but the duration of these videos seem to be a problem (drone videos with durations of a few minutes, no movies or alike).
So in fact (as per my understanding) I am not pointing to folders outside the web root as I have extended the web root (since the steps for hooking up external storage did not work for me as you have instructed).
I really hope you can assist me in this regards or provide a step-by-step setup on how to do these things.
Best regards,
Labushuya