Announcement

Collapse
No announcement yet.

Audio player not working in IE from site - any ideas?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Audio player not working in IE from site - any ideas?

    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)

    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>>!!
    Any ideas - it's driving me slightly crazy!

    Thanks,

    Jonny
    www.yopo.co.uk
    YoPo Music - the UK non-MCPS buyout production music library.
    www.yopo.co.uk

    #2
    Jonny,

    The original code for this was in a product layout not a fragment so there may be some conflict.
    I've sent you an email with more info.

    Duncan

    Comment


      #3
      An update for anyone interested with this. The player code will not work correctly when placed inside form tags as is the case with a product. Placing the player script outside the form tag and it functions as expected.

      Comment


        #4
        Great - well at least we know now.
        Thanks
        J
        YoPo Music - the UK non-MCPS buyout production music library.
        www.yopo.co.uk

        Comment

        Working...
        X