Bonjour,
Je voudrais compter le nombre de fois qu'une video flv est lue via un script php.
On m'a suggéré d'utiliser une url vers un php qui va rediriger vers la video
au lieu de mettre l'url de la video directement dans le code :
le code html :
1 2 3 4 5
| <object type="application/x-shockwave-flash" data="player_flv_maxi.swf" width="320" height="240">
<param name="movie" value="player_flv_maxi.swf" />
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="flv=page.php&margin=1&showstop=1&showvolume=1&showtime=2&showplayer=always&showloading=always&showfullscreen=1&loadingcolor=c2c2c2&showiconplay=1&showtitleandstartimage=1&startimage=snapshots/43.jpg" />
</object> |
et ma page.php :
<?php include("mavideo.flv");?>
ou alors :
<?php header("location:mavideo.flv") ?>
Mais je n'obtiens rien.
Est ce réalisable tout de même ?
Merci
Partager