Hi - for my products which are downloadable music tracks - I use a flash audio player to let customers preview the tracks before buying.
Problem I have is that each of my sections has many tracks - and so many players. The player should stop playing if you click on another player on the page. Very useful. Except that in IE it won't work. Works fine in Safari and Firefox.
Take a look here:
http://www.yopo.co.uk/acatalog/AUDIO_TESTING.html
This is just a testing page with 2 players where I've been trying to get it to work.
If I use the player in IE but in a non Actinic website it works as it should. So something in Actinic is doing something....?
The code I use in the header section of External Layout overall design is:
<script type="text/javascript" src="http://www.yopo.co.uk/acatalog/audio-player.js"></script>
<script type="text/javascript">
AudioPlayer.setup("http://www.yopo.co.uk/acatalog/player.swf", {
width: 290
});
</script>
And then on the product page I put this to call the player: (2 in this case)
Any ideas - it's driving me slightly crazy!
Thanks,
Jonny
www.yopo.co.uk
Problem I have is that each of my sections has many tracks - and so many players. The player should stop playing if you click on another player on the page. Very useful. Except that in IE it won't work. Works fine in Safari and Firefox.
Take a look here:
http://www.yopo.co.uk/acatalog/AUDIO_TESTING.html
This is just a testing page with 2 players where I've been trying to get it to work.
If I use the player in IE but in a non Actinic website it works as it should. So something in Actinic is doing something....?
The code I use in the header section of External Layout overall design is:
<script type="text/javascript" src="http://www.yopo.co.uk/acatalog/audio-player.js"></script>
<script type="text/javascript">
AudioPlayer.setup("http://www.yopo.co.uk/acatalog/player.swf", {
width: 290
});
</script>
And then on the product page I put this to call the player: (2 in this case)
Code:
!!<<p id="audioplayer_1">Alternative content</p> <script type="text/javascript"> AudioPlayer.embed("audioplayer_1", {soundFile: "http://www.yopo.co.uk/acatalog/KateParkerAds.mp3"}); </script> <br> Kate Parker<br> <p id="audioplayer_2">Alternative content</p> <script type="text/javascript"> AudioPlayer.embed("audioplayer_2", {soundFile: "http://www.yopo.co.uk/acatalog/JonStrickland.mp3"}); </script>>!!
Thanks,
Jonny
www.yopo.co.uk
Comment