This thread offers several things to use in .htaccess, of which none affect embedding as far as I know. Try the one listed above your post (the one recommended by vshare wiki---see link).
This is what I have in my flvideo folder:
(.htaccess)
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?myvsharesite\.com [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} ^http://.*$
RewriteRule \.(flv)$ /templates/images/logo.jpe [L]
As far as I know, (I tested it on another domain) I can still embed videos, but direct linking is disabled. What they see is my logo instead (I created a copy of my logo.jpg as logo.jpe since I also have hotlinking of images disabled).
I have this in the vshare root:
(.htaccess)
Code:
RewriteCond %{HTTP_REFERER} !^http://(www\.)?myvsharesite\.com [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} ^http://.*$
RewriteRule \.(jpe?g|gif|bmp|png)$ /templates/images/logo.jpe [L]
To allow streaming from other sites, you add the domain to the list
Code:
RewriteCond %{HTTP_REFERER} !^http://(www\.)?vsharesite1\.com [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?vsharesite2\.com [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?vsharesite3\.com [NC]
Bookmarks