Código:
El video lo abro con un reproductor, funciona perfectamente sin el .htaccess, pero cualdo lo habilito me dice que no encuentra el video.RewriteEngine on RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?dominio1.com.ar [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?dominio2.com.ar [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?dominio3.com.ar [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?dominio4.com.ar [NC] RewriteRule \.(jpg|jpeg|png|gif|mpg|mp4|mp3|swf|avi)$ http://www.dominio1.com.ar/images/nohotlink.png [NC,R,L]
Código HTML:
<object width="471" height="374"><param name="movie" value="http://player.longtailvideo.com/player.swf"></param><param name="allowFullScreen" value="true"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="never"></param><param name="flashvars" value="&file=http://www.dominio1.com.ar/caps/temporada-20/20x21.mp4&image=http://www.dominio1.com.ar/images/videos.jpg&type=video&backcolor=0xFEDE00&frontcolor=0x000000&lightcolor=0xFFFFFF" /><embed src="http://player.longtailvideo.com/player.swf" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="never" allowfullscreen="true" flashvars="&file=http://www.dominio1.com.ar/caps/temporada-20/20x21.mp4&image=http://www.dominio1.com.ar/images/videos.jpg&type=video&backcolor=0xFEDE00&frontcolor=0x000000&lightcolor=0xFFFFFF" width="471" height="374"></embed></object>