Forums

Problems with stopping if other player starts (1 post)

  1. nightstalker101
    Member
    Posted 1 year ago #

    Hi,

    I embedded the player in this way:

    <html>
         <head>
             <title>Your website</title>
                <script type="text/javascript" src="audio-player.js"></script>
             <script type="text/javascript">
                 AudioPlayer.setup("player.swf", {
                     width: 290
                 });
             </script>
         </head>
         <body>  
    
             <p id="audioplayer_1">Alternative content</p>
             <script type="text/javascript">
             AudioPlayer.embed("audioplayer_1", {soundFile: "test.mp3"});
             </script>  
    
             <p id="audioplayer_2">Alternative content</p>
             <script type="text/javascript">
             AudioPlayer.embed("audioplayer_2", {soundFile: "test2.mp3"});
             </script>  
    
         </body>
     </html>

    The problem: I player#1 plays and I click "play" on Player#, Player#1 does not stop automatically. Why?
    How can I change my code, that thsi function is there, too?

    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by nightstalker101
  • This topic is not resolved
  • WordPress version: 3.0.4