title: Allowing video to be played in <video> element from my website, but not allowing it through direct URL
body: <p>FOllowed <a href="https://stackoverflow.com/questions/43951871/allowing-video-to-be-played-in-video-element-from-my-website-but-not-allowing">Allowing video to be played in &lt;video&gt; element from my website, but not allowing it through direct link</a> </p>
  
  <p>But it's not working for me. It only works on my TEST server which is RewriteCond %{HTTP_REFERER} !^<a href="https://xx.admin.yy.net/" rel="nofollow noreferrer">https://xx.admin.yy.net/</a>.*$ [NC,OR]</p>
  
  <p>When I move my change to production with the following domains (RewriteCond %{HTTP_REFERER} !^<a href="https://www.strategy.domain.com" rel="nofollow noreferrer">https://www.strategy.domain.com</a> [NC,OR]
  RewriteCond %{HTTP_REFERER} !^<a href="https://strategy.domain.com" rel="nofollow noreferrer">https://strategy.domain.com</a> [NC]) , The video is not playing at all. No error messages.</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_URI} \.(mp4|mp3|avi)$ [NC]
  RewriteCond %{HTTP_REFERER} !^https://xx.admin.yy.net/.*$ [NC,OR]
  RewriteCond %{HTTP_REFERER} !^https://www\.strategy\.domain\.com [NC,OR]
  RewriteCond %{HTTP_REFERER} !^https://strategy\.domain\.com [NC]
  RewriteRule ^.* - [F,L]
  </code></pre>