Hi,
I want to hide my mp3 file path.
I tried this php code but it doesn't work:
myfile.php:
<?php
$audio=array(
'1' => 'file1.mp3',
'2' => 'file2.mp3'
);
readfile ($audio[$_GET['mp3']]);
?>
test.html
...
s1.addParam('flashvars','file="myfile.php?mp3=1');
...
The code works fine with an image but not with an mp3 file.
Do you have some suggestions ?
Thanks
s1.addVariable('file', encodeURIComponent('myfile.php?mp3=1')};s1.addVariable('type', 'sound');
You may not need the type in the very latest v4.4.x players. In fact, using it may stop the player from instantiating.