Forums

audio player controls display in ie but not firefox (4 posts)

  1. jim blaha
    Member
    Posted 5 months ago #

    Instead of controls, my alternate text displays, "Play sample." By clicking on it firefox jumps to a separate screen to play the music. To get back to the original screen, the user must click on the arrrow to go back to previous page.

    I've tried the <? php wp_head (); ?> and the <? php wp_footer(); ?>
    code which made no difference.

    Help! It's been days.

    Jim Blaha

  2. Josh
    Member
    Posted 5 months ago #

    Website URL? How are you inserting the audio files?

  3. jim blaha
    Member
    Posted 5 months ago #

    WEBSITE: andthelightsaid.com

    I'm using the standalone wp audio player and my new code is not yet in the online website. It works fine in testing with the ie browser but not in firefox.

    CODE FOR USING THE BROWSER

    <script type="text/javascript" src="audio-player.js"> </script>
    <script type="text/javascript">
    
    	AudioPlayer.setup("player.swf", {
    		width: 260,
    			});
    </script>

    CODE FOR POSITIONING THE PLAYER/CONTROLS

    #music1div {
    	   display: block;
    	   height: 40px;
    	   width: 260px;
    	   position: absolute;
    	   top: 342px;
    	   left: 875px;
    	   z-index: 2;
    	   }

    CODE FOR SETTING INITIAL ATTRIBUTES AND HREF FOR THE CONTROLS DIV

    <div id="music1div" class = "hide"> <p id="music1"><a href="p024m1.mp3">Play beginning</a></p>
    </div>

    CODE FOR DISPLAYING THE CONTROLS

    document.getElementById("music1div").className = "music1div";
    AudioPlayer.embed("music1", {soundFile: "p024m1.mp3"});

    That should cover it. Hopefully you've seen something like this before. Thanks for your rapid response.

  4. jim blaha
    Member
    Posted 4 months ago #

    I've moved one page of my audio player code online. Now you can see my problem exactly in a little demo. IE and AOL work correcty, so try one of those to see how I'd like it to work. Then try Safari and Firefox to see how I don't want it to work. (It takes about 1 minute to try each way.) The website has been operating about 6 months. This is the first use of audio player.

    Here are the steps.

    1. Go to andthelightsaid.net.
    2. Home page: Click on the Table of Contents button.
    3. Table of contents: Click on 7. The Big Bang. (goes to page 120)
    4. Page 120: Click on HOW DID THE UNIVERSE EXPAND. (goes to page 138)
    5. Page 138: Click the Play Sample button.
    6: Click on the player controls to hear the music.
    7. Click on Close button.

    Thanks

Reply

You must log in to post.

About this Topic