Thanks again, Matt. I had to specify the sub-folder audio-player/assets that the executables had been installed to by the default installation. That seems to have sorted it, though if as many of the possie as possible could try the attached QR Code, my gratitude would know none of Greg's bounds.
The player bar has disappeared from my android display (which is good) but is now to the right of the display in my pc browsers. Bizarrely, in Chrome, the player bar is going backwards. Amended code below.
code: <!DOCTYPE html>
<head>
<title>Soundgems</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<script type="text/javascript" src="/audio-player/assets/audio-player.js"></script>
<script type="text/javascript">
AudioPlayer.setup("/audio-player/assets/player.swf", {
width: 1,
initialvolume: 100,
transparentpagebg: "yes",
left: "000000",
lefticon: "FFFFFF"
});
</script>
</head>
<body>
<div align="center">
<img src="/soundgemimages/soundgemsimage1.gif" width="480" height="480" title="" alt="" />
<audio controls="false" preload="auto" autobuffer autoplay id="audioplayer">
<source src="/audio/soundgems1.m4a" />
<script type="text/javascript">
var audio_player = document.createElement('audio');
if (!audio_player.canPlayType || !audio_player.canPlayType('audio/mp4')) {
AudioPlayer.embed("audioplayer", {
soundFile: "/audio/soundgems1.mp3",
autostart: "yes",
loop: "no",
animation: "no",
transparentpagebg: "yes"
});
}
</script>
</audio>
</div>
</body>
</html> "We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
|