JonnyS
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Audio Player] Version 2.0 beta releasedHi – here’s a follow up to the V2 stanalone not working with multiple players as it used to:
What stops it shutting down one player when you open another on the same page in Internet Explorer is when the player code is inside “Form” tags. Outside of those it works fine. But as my player is part of a product for a shopping cart it has to go inside “Form” tags. Any resolution to this please?
Here’s some sample code: Take out the form tags and it works – leave them in and statrting one player wont shut another down.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script type="text/javascript" src="audio-player.js"></script> <script type="text/javascript">AudioPlayer.setup("player.swf", { width: 290 }); </script> </head> <body> <form> <p id="audioplayer_1">Alternative content</p> <script type="text/javascript"> AudioPlayer.embed("audioplayer_1", {soundFile: "http://www.yopo.co.uk/preview/upbeat/RockSolid.mp3"}); </script> </form> <form> <p id="audioplayer_2">Alternative content</p> <script type="text/javascript"> AudioPlayer.embed("audioplayer_2", {soundFile: "http://www.yopo.co.uk/preview/upbeat/UrbanJungle.mp3"}); </script> </form> </body> </html>One other thing:
The new player doesn’t seem transparent in it’s closed state – there’s a white box that extrudes across?Thanks again for a great player.
Jonny
Forum: Plugins
In reply to: [Plugin: Audio Player] Version 2.0 beta releasedHi – great player. Superb. Been using the standalone V1 for a while now.
Now using V2 as a standalone on my music site http://www.yopo.co.ukMy problem is in IE opening one player on a multi player page is not shutting down the first player. Works fine in Firefox & Safari but in IE it doesn’t work. And that’s one of the features my customers loved about the V1.
So – any ideas? I’ve tried a lot of things. If you’re interested take a look at my site at
This is a little testing area with 2 players.I have this code in the header:
<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 this at the point I want to place say player 1:
<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>And player 2:
<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 for any help! And thanks for writing such a neat effective player.
Cheers
Jonny
http://www.yopo.co.uk