Add Sound to Page Help please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Andy128
    Major General

    • Dec 2005
    • 2317

    #31
    Re: Add Sound to Page Help please

    Just a thought- on that page do you have another item that is scripted to start on page load? If so- they are conflicting. This could be a banner, animated gif etc... Would suggest making sure nothing else is scheduled to start on that page load.

    Additionally- Try to set up the the instructions that ez-ez has shown you on a blank page. This will for sure tell you if it is in conflict with another element on the page.

    Just a thought,

    Andy
    PHP- is a blast!

    Comment

    • ez-ez
      Special Status

      • Mar 2006
      • 1329

      #32
      Re: Add Sound to Page Help please

      Originally posted by Nite Producer
      Hi ez ez,

      Thanks for the *Note first.

      Still having the same probleme, on and off don't work yet, but maybe I can say that there is something different between the first script you gave me in this threaf and the one in your tutorial page, don't you think? (in the boss script)

      Anyway, I don't get why it's not working with meeeee hummmm hummmm,

      I did copy the last one you gave me and past it as it is, but on and of are not working yet.

      Thank you for being so patient with me
      There are prossible reasons for that..
      Lets do this test..
      In a blank page.. just inster a new HTML Box and copy the code is it.. you should get a blank screen with on/off text.. the file will play and the buttons will work... Try it... I am just trying to determine if there are other elements on the page that are conflicting with the script.. even though, theoritically, it shouldn't, but lets start from scratch.. Blank brand new page... HTML Box.. copy and paste the code anmd try.. Here's the code again:

      <EMBED ID="intro_mp3" src="http://www.niteproduction.com/music/intro.mp3" height="0" width="0" hidden="true" loop="true"><BR>
      <FONT style="position:absolute;left:24;font-size:8pt" color="#CCCCCC" face="Franklin Gothic Medium" onmouseover="this.style.cursor='hand'" OnClick="StartMeUp()"><B>on</B></FONT>
      <FONT style="position:absolute;left:50;font-size:8pt" color="#CCCCCC" face="Franklin Gothic Medium" onmouseover="this.style.cursor='hand'" OnClick="ShutMeDown()"><B>off</B></FONT>
      <SCRIPT>
      <!--
      function StartMeUp ()
      {
      intro_mp3.play();
      }
      function ShutMeDown ()
      {
      intro_mp3.stop();
      }
      -->
      </SCRIPT>

      Please let me know the outcome.
      *(I am playing your file with this code now as we speak and both buttons are working fine).

      Comment

      • circuspet.com
        Brigadier General

        • Feb 2006
        • 1104

        #33
        Re: Add Sound to Page Help please

        ez-ez:

        Never considered having more than one music file per page, and all my players are page specific and turn off when the page is changed. now that you mention it however, I can see music sites having several music files on the same page and the script would prevent loading several players?Maybe I'll just need wait to see what nite producer has done to see what he was trying to do.

        Comment

        • Nite Producer
          Lieutenant Colonel

          • May 2006
          • 593

          #34
          Re: Add Sound to Page Help please

          Hi again,

          I tried it as you said guys but nothing, still having the same prob
          The Producer

          Comment

          • Nite Producer
            Lieutenant Colonel

            • May 2006
            • 593

            #35
            Re: Add Sound to Page Help please

            the page is www.niteproduction.com/blanktest2.html

            Nothing
            The Producer

            Comment

            • ez-ez
              Special Status

              • Mar 2006
              • 1329

              #36
              Re: Add Sound to Page Help please

              Your 'BlankTest" page is working fine on this end.. On/Off working perfectly OK.
              1. Do you hear music at all..??
              2. Do you have the volume up..??
              3. Did my example page (the one I created with instructions which I forgot its name..lol) did it work for you..?
              4. What browser are you using..?

              Comment

              • circuspet.com
                Brigadier General

                • Feb 2006
                • 1104

                #37
                Re: Add Sound to Page Help please

                ez-ez:

                The blank test page works well for me also, I'm on IE

                Comment

                • Nite Producer
                  Lieutenant Colonel

                  • May 2006
                  • 593

                  #38
                  Re: Add Sound to Page Help please

                  Yeah the music is working, I just can't shut it off, that on off don't work, I have the explorer 7 beta.

                  1 - yes
                  2 - Yes
                  3 - Perfectly
                  4 - Explorer 7 beta (but I don't think that is the probleme if yours is working).

                  I published the new home page with the new script, but still can't shut it off
                  The Producer

                  Comment

                  • Nite Producer
                    Lieutenant Colonel

                    • May 2006
                    • 593

                    #39
                    Re: Add Sound to Page Help please

                    can you guys try to open again my website and see if it's working now please,

                    Thanks
                    The Producer

                    Comment

                    • ez-ez
                      Special Status

                      • Mar 2006
                      • 1329

                      #40
                      Re: Add Sound to Page Help please

                      Originally posted by circuspet.com
                      ez-ez:

                      The blank test page works well for me also, I'm on IE
                      Thanks Circus mate..
                      I have a feeling it may be a browser thing.. which can be resolved.. Lets see what NiteProducer is using.

                      Even though it could be a simple thing... once I spent hours trying to figure out why a music file wasen't working.. re-did the page a few times, updated the sound card driver, nearly put my fist through the monitor and just as I was on my way out to go buy a new sound card, I discovered my speakers were switched off..

                      If they ever have a Silly Goofy Doof Competition, put your money on me... Guaranteed return on your investment.

                      Comment

                      • circuspet.com
                        Brigadier General

                        • Feb 2006
                        • 1104

                        #41
                        Re: Add Sound to Page Help please

                        Every thing including the on/off music button work fine. had to scrol ove a mile to get to it.

                        Comment

                        • circuspet.com
                          Brigadier General

                          • Feb 2006
                          • 1104

                          #42
                          Re: Add Sound to Page Help please

                          ez-ez

                          lol That sounds like one of my revelations

                          Comment

                          • ez-ez
                            Special Status

                            • Mar 2006
                            • 1329

                            #43
                            Re: Add Sound to Page Help please

                            Originally posted by Nite Producer
                            Yeah the music is working, I just can't shut it off, that on off don't work, I have the explorer 7 beta.

                            1 - yes
                            2 - Yes
                            3 - Perfectly
                            4 - Explorer 7 beta (but I don't think that is the probleme if yours is working).

                            I published the new home page with the new script, but still can't shut it off
                            Everything is working fine here.. Music playing and ON/OFF working fine.. If it aint working for you, then do me a favor please..

                            1. Open your 'BlankTest' page in your browser.
                            2. Go to "View".. then "Source". Copy the entire Page HTML source and paste it here.

                            Cheers.

                            Comment

                            • Nite Producer
                              Lieutenant Colonel

                              • May 2006
                              • 593

                              #44
                              Re: Add Sound to Page Help please

                              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                              <HTML>
                              <HEAD>
                              <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
                              <TITLE>Untitled Page</TITLE>
                              <META name="GENERATOR" content="Created by BlueVoda">
                              </HEAD>
                              <BODY bgcolor="#FFFFFF" text="#000000">
                              <DIV style="position:absolute;left:366px;top:239px;widt h:150px;height:150px;z-index:0" align="left">
                              <EMBED ID="intro_mp3" src="http://www.niteproduction.com/music/intro.mp3" height="0" width="0" hidden="true" loop="true"><BR>
                              <FONT style="position:absolute;left:24;font-size:8pt" color="#CCCCCC" face="Franklin Gothic Medium" onmouseover="this.style.cursor='hand'" OnClick="StartMeUp()"><B>on</B></FONT>
                              <FONT style="position:absolute;left:50;font-size:8pt" color="#CCCCCC" face="Franklin Gothic Medium" onmouseover="this.style.cursor='hand'" OnClick="ShutMeDown()"><B>off</B></FONT>
                              <script language="JavaScript">
                              <!--
                              function SymError()
                              {
                              return true;
                              }
                              window.onerror = SymError;
                              var SymRealWinOpen = window.open;
                              function SymWinOpen(url, name, attributes)
                              {
                              return (new Object());
                              }
                              window.open = SymWinOpen;
                              //-->
                              </script>
                              <SCRIPT>
                              <!--
                              function StartMeUp ()
                              {
                              intro_mp3.play();
                              }
                              function ShutMeDown ()
                              {
                              intro_mp3.stop();
                              }
                              -->
                              </SCRIPT>
                              </DIV>
                              </BODY>
                              </HTML>
                              <script language="JavaScript">
                              <!--
                              var SymRealOnLoad;
                              var SymRealOnUnload;
                              function SymOnUnload()
                              {
                              window.open = SymWinOpen;
                              if(SymRealOnUnload != null)
                              SymRealOnUnload();
                              }
                              function SymOnLoad()
                              {
                              if(SymRealOnLoad != null)
                              SymRealOnLoad();
                              window.open = SymRealWinOpen;
                              SymRealOnUnload = window.onunload;
                              window.onunload = SymOnUnload;
                              }
                              SymRealOnLoad = window.onload;
                              window.onload = SymOnLoad;
                              //-->
                              </script>
                              The Producer

                              Comment

                              • ez-ez
                                Special Status

                                • Mar 2006
                                • 1329

                                #45
                                Re: Add Sound to Page Help please

                                The problem is very obvious Nite Producer..

                                Our script is not where it should be... I am not sure where the SymError function came from and how it put itself between the Media PLayer and the StartMeUp function..

                                Possible Solutions:

                                1. Ensure that the entire code, including the following is in the same HTML box as your media player itself:
                                <SCRIPT>
                                <!--
                                function StartMeUp ()
                                {
                                intro_mp3.play();
                                }
                                function ShutMeDown ()
                                {
                                intro_mp3.stop();
                                }
                                -->
                                </SCRIPT>

                                This script is intended to be directly beneath the MediaPlayer and the On and OFF Buttons code.

                                2. Open the page in BlueVoda, right click on the page, try to find that SymErro script to see if it is to do with something else on the page or it is something that Explorer 7 so generously decided to throw in the page.

                                3. There is an 'OnLoad' script that may be conflicting with the script as Andy and I mentioned above... It is placed after the <BODY> tag... Did you put that there..??????

                                Let me know the ooutcome please.

                                Comment

                                Working...
                                X