Hello. On EasySocial I got a problem when users used "page's source code" to share and download MP4 video files that was uploaded to private groups. I wanted to protect this video source, keep this files on website only (and don't make it downloadable or viewable outside private group)
https://stackideas.com/forums/private-video-s-mp4-file-is-public-and-visible-for-all#reply-481866
If edit .htaccess and use code:
RewriteEngine On
RewriteCond %{REQUEST_URI} \.(mp4|mp3|avi)$ [NC]
RewriteCond %{HTTP_REFERER} !^https://example.com/.*$ [NC]
RewriteRule ^.* - [F,L]
It gives users error 404 when accessed directly from browser, but the web still can play the video.
But it doesn't allow to play videos on EasySocial Native App (I can see black screen instead video frame).
Do you have any idea how to edit code and allow display videos on EasySocial Native App (public app)?
Thanks.