I'm preventing direct access to videos, played by Projekktor, at a website. The restriction is set within the .htaccess file:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.ltd [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.ltd.*$ [NC]
RewriteRule \.(avi|mp4|webm|m4v)$ - [F]
This works great when playing the videos in a browser on a computer, but when I'm trying to watch the video from a smartphone, it won't work.
I'll think it is because the video, on a smartphone, isn't displayed through the browser - when dealing with HLS.
I've tried with a Nexus 5, Android 4.4.3, Chrome browser. Anyone knows an easy solution? :)