I have a site that contains list of audios and would like for users to click on the audio and listen to them:
Issue:
I amtrying to create a script that would automatically create the Metafile for each audio.
Similar to something like this site:
http://www.dancerecords.com/index.php?week=1728&genre=1
Would the code be similar to this:
*************Makeram.php ******
$file = file2.php?soundfile=audio.txt
<object id="RAOCX" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="100" width="375">
<param name="controls" value="All">
<param name="autostart" value="true">
<param name="SRC" value="<?php print($file); ?>">
<param name="console" value="player1">
<embed src="<?php print($file); ?>" width="100" height="375" controls="All" autostart="true" console="player1">
</object>
*********Metafile.php**********
// add the directory path to the variable $list
$directory = "/path_to_files/". $list;
print ("http://host/".$directory);