Htaccess and jwflash trouble

HTML5, CSS3, Javascript, support des mobiles... Que penser de votre site ? Vous manquez d'informations pour la construction d'un site qui puisse s'afficher correctement partout ? C'est un problème simple, un peu complexe ? Venez ici !
thesweetiger
Arias
Messages : 1
Inscription : 04 mai 2012, 21:40

Htaccess and jwflash trouble

Message 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
scoobidiver
Animal mythique
Messages : 6402
Inscription : 01 avr. 2011, 19:26

Re: Htaccess and jwflash trouble

Message 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/
calimo
Animal mythique
Messages : 14118
Inscription : 26 déc. 2003, 11:51

Re: Htaccess and jwflash trouble

Message 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:
Répondre

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité