Page 1 sur 1

Htaccess and jwflash trouble

Publié : 04 mai 2012, 21:46
par thesweetiger
I wriute a code and strangely is only firefox don't support this

I protect my file for people don't download my vidoe file on my server (force to use jwplayer)
just this is here

i receive an access denied only on firefox , and fail , and work under ie9 chrome and opera

my script

Code : Tout sélectionner

<script type='text/javascript' src='swfobject.js'></script>

<div id='mediaplayer'></div>

<script type="text/javascript">
    var so = new SWFObject('player.swf','playerID','720','480','9');
    so.addParam('allowfullscreen','true');
    so.addParam('allowscriptaccess','always');
    so.addVariable('file', 'video/irapreddoll.mp4');
    so.write('mediaplayer');
</script>
My htaccess in video folder

Code : Tout sélectionner

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?XXX.YYY [NC]
RewriteRule \.(jpg|jpeg|png|gif|mp4|mov|html|htm|php|cgi|swf|flv)$ - [NC,F,L]
note out of the htaccess all work

Re: Htaccess and jwflash trouble

Publié : 04 mai 2012, 23:06
par scoobidiver
You are in the French support forum. The English ones are :
https://support.mozilla.org/en-US/questions/new or
http://forums.mozillazine.org/

Re: Htaccess and jwflash trouble

Publié : 05 mai 2012, 11:32
par calimo
Hi thesweetiger,
Answering in English anyway... you should have a look at your log files (error.log and access.log). With them you can certainly detect what difference there is between Firefox and the others. :wink:

PS: your files are downloaded anyway, and your users can get them from their cache :wink: