![]() |
Problem with wmv files
Im a rather newbie webmaster Ive done only a few free sites. Ive got a problem : few linklist rejected my sites and reviewers told me the reason was that my movie files were broken and were not playing. Ive chcecked it a lot of times and they worked for me ( besides most linklists listed my sites ). Can you check it and maybe you will know what is going on?
http://www.porntide.com/reality/hardcoreamateur/ Btw can you review this site and give me some advices? THX in advance |
I also get an error message and it seems to me that you have made a mistake in correctly linking the wmv files.
It is linked to a htm file and not to a wmv file. Matt |
Hi dirty |waves| welcome to the board :)
I get errors on the clips as well. |sad| I think you need to re-link them. |
ok i turned off hot link protection and it works now
|
Yeah something is wrong.
http://cleocrap.com/wmverror.jpg |
but now im endangered by hotlinkers. How should I properly set the hotlink protection to let the wmv files play?
|
Don't use wmv files. Use mpg files as those can be easily protected by htaccess.
While I accept wmv files I would never use them myself just for this reason. |
Hi Dirty,
welcome aboard, nice to see you've sorted things out. I'll approve your sites now, no need to resubmit :) |
Hi Dirty,
WMVs work for me... Protection of WMVs cannot be done with ordinary htacess. YOu need a cookie solution usually;( DD |
Yeah they work for me now that dirty turned off hotlinking protection, but I'm concerned that it gets turned back on after listing which would cause the domain to get added to a ban list due to the movies nor showing up.
What DD said about how to protect the files. :) |
there's a way you can protect them from hotlinking... but I think a better way would be to put your URL in the corner of the video. That way if people hotlink it's free advertising for you... im not sure if any linklists have a problem with this though? i haven't done any video freesites before.
I'll get you the hotlink protection info, one sec. |
Use an htaccess file like this
RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com(:80)*/ [NC] RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*allowedreferer.com(:80)*/ [NC] RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*anotherallowedreferer.com(:80)*/ [NC] RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$) RewriteRule /* http://www.sendhotlinkershere.com[R,L] ) change the URLs obviously... then, on the content page serving the videos, add this javascript between the HEAD tags. .... that javascript will create a cookie (which is one of the access conditions in that htaccess). So the videos will work after the user views the content page, and be hotlink protected. |
aww crap, the board changed "; )" in the htaccess code into a smiley. You'll have to edit that part.
|
thx a LOT for your help:)
I do appreciate it newbie's life is hard ;) |
stev0
Disable smillies when you post code. dirty The problem with the code posted is many places don't allow the javascript on your pages. |
yeah, javascript can be a problem with some LL's. to bad alot of malicious people ruin it for the rest of us.. If you put something in the comments about it i'm sure most wouldn't have a problem though. I just use it on my big premium AVS sites.
The best method i think would be to add a URL to those video files. Then even if someone hotlinks them, it's free advertising for you. -Steve |
All times are GMT -4. The time now is 09:19 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc