@ -176,8 +176,12 @@ function DisplayAudio($pagename){
$audiofile = $FarmD."/pub/audio/".$pagename.".ogg";
$audiourl = $ScriptUrl."/pub/audio/".$pagename.".ogg";
if (file_exists($audiofile))
print "<a name=\"audiodisplay\"><audio controls=\"controls\" ><source src=\"$audiourl\" type=\"audio/ogg\" />Your browser does not allow HTML5 audio.</audio></a></br>";
print "Download the <a href=\"$audiourl\">audio file (ogg)</a> to play later.";
print "<div width=\"100px\"><a name=\"audiodisplay\">
<audio width=\"100\" controls=\"controls\" >
<source src=\"$audiourl\" type=\"audio/ogg\" />
Your browser does not allow HTML5 audio.</audio>
</a></br>";
print "Download the <a href=\"$audiourl\">audio file (ogg)</a> to play later.</div>";
}
//display images with transparancy invertionnaly proportional to last time of update