Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: music help  (Read 17192 times)

0 Members and 1 Guest are viewing this topic.

kpac

  • Web moderator
  • Moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: music help
« Reply #15 on: April 27, 2010, 12:48:54 PM »
Why do you want to use a background sound anyway?

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: music help
« Reply #16 on: April 27, 2010, 01:14:57 PM »
Here is a site that explains the possibilities.
http://allwebco-templates.com/support/S_script_music.htm

What it says is basically what he was already told. For some audio formats you need a plug in. For the formats already supported by your browser, not plug-in is needed.

Or, you can put an object into your page that loads a flash player on demand. The should be used as a 'click here' thing to let the visitor decide if they want your background music.

When I used to put sound on eBay, the only thing I could use was the AU format that is supported by Java. I would also have tout the proper JS things into my web page with the absolute utl for all the objects. The ebay page could only have HTML, the sound objects had to be on my own web space. At that time there was no easy way to put MP3 sound into a eBay page. It had to conform to the standards of that time. It would work because most users would have the Java VM on the PC and the browser would use the Java code to produce sound. So no plug-ins were needed.  8)



BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: music help
« Reply #17 on: April 27, 2010, 02:29:20 PM »
So no plug-ins were needed.  8)

The java VM was and is a plugin/extension for each browser.
I was trying to dereference Null Pointers before it was cool.

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: music help
« Reply #18 on: April 27, 2010, 02:39:50 PM »
The java VM was and is a plugin/extension for each browser.
Correct. And the user seldom knows it. But for Flash you need a plug-in unless the user has already done it. Still, some special decoders require a spacial flavor of Flash, So it has to be downloaded 'on the fly.'  (Pun not intended.)

I used to use the wimpy MP3 player. It is really a custom Flash thing in Java. It would load itself so fast the the user was seldom aware that it was a custom plug-in from Adobe done in Java.

http://www.wimpyplayer.com/

Quantos



    Guru
  • Veni, Vidi, Vici
  • Thanked: 170
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Guru
  • OS: Linux variant
Re: music help
« Reply #19 on: April 28, 2010, 01:37:37 AM »
Well, a plug in and an embedded object are two completely different monsters.

<edit>  One runs client side while the other runs server side, for example.  </edit>
Evil is an exact science.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: music help
« Reply #20 on: April 28, 2010, 04:07:53 AM »
Well, a plug in and an embedded object are two completely different monsters.

<edit>  One runs client side while the other runs server side, for example.  </edit>

They both run client-side- an embedded object basically embeds a music file, a picture, video, etc, into a page, and let's the browser figure out how to handle it. but whatever it decides, will be on the client side- for example, with embed, it doesn't work in either FF or Opera without a media player plugin; Internet Explorer uses Windows Media player by default. an embedded object could be said to be data that may (or may not) require a specific type of plugin to use. for example, you could embed an XML document, but it won't do a lot of good unless the browser knows how to deal with it.
I was trying to dereference Null Pointers before it was cool.

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: music help
« Reply #21 on: April 28, 2010, 02:09:32 PM »
Server side FLASH.  8)
Quote
Flash Media Development Server: free
Easily develop and test your Flash Media Server applications with this free edition. It supports all of the features of Flash Media Interactive Server 3.5 but is limited to ten simultaneous streams.
FLASH MEDIA SERVER 3.5 FAQ   

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: music help
« Reply #22 on: April 28, 2010, 02:12:53 PM »
Flash Media server- not server side flash. At least, I don't think so.

Adobe already has a server side product- ColdFusion. Well... Macromedia did, so now Adobe does. Wonder if they managed to screw it up like they did the other macromedia products.
I was trying to dereference Null Pointers before it was cool.

Quantos



    Guru
  • Veni, Vidi, Vici
  • Thanked: 170
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Guru
  • OS: Linux variant
Re: music help
« Reply #23 on: April 29, 2010, 06:31:27 AM »
They both run client-side- an embedded object basically embeds a music file, a picture, video, etc, into a page, and let's the browser figure out how to handle it. but whatever it decides, will be on the client side- for example, with embed, it doesn't work in either FF or Opera without a media player plugin; Internet Explorer uses Windows Media player by default. an embedded object could be said to be data that may (or may not) require a specific type of plugin to use. for example, you could embed an XML document, but it won't do a lot of good unless the browser knows how to deal with it.
That's interesting to note, it makes sense now that I think about it.  I had just assumed that the embedded object would run from server side.
Evil is an exact science.

nymph4

    Topic Starter


    Specialist

    Re: music help
    « Reply #24 on: May 06, 2010, 10:37:32 AM »
    I found this on the web but I need some help with it?

    <object classid="classID"
      width="n"
      height="n"
    >
      <param name="URL" value="url"/>
      <param name="autoStart" value="true|false"/>
      <param name="uiMode" value="none|mini|full"/>
    </object>

    I have my web pages and the audio file   beach.wav    all in the same directory.
    Now what do I neet do do to this code so it will work with internet explorer  and firefox???

    Or can it work for both for playing a  wav file on my page???

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: music help
    « Reply #25 on: May 06, 2010, 11:42:10 AM »
    If you had read the tutorial I gave you, you would know. Have you something against reading tutorials?

    http://w3schools.com/media/media_browsersounds.asp

    nymph4

      Topic Starter


      Specialist

      Re: music help
      « Reply #26 on: May 06, 2010, 02:54:52 PM »
      Ok the code I got from your web site says

      <embed
      src="beatles.mid"
      width="50%"
      height="50%">
      </embed>

      And it goes between the body tag is all of this right??????????

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: music help
      « Reply #27 on: May 06, 2010, 02:59:45 PM »
      Ok the code I got from your web site says

      <embed
      src="beatles.mid"
      width="50%"
      height="50%">
      </embed>

      And it goes between the body tag is all of this right??????????

      Did you try it?

      Did it work?
      I was trying to dereference Null Pointers before it was cool.

      nymph4

        Topic Starter


        Specialist

        Re: music help
        « Reply #28 on: May 06, 2010, 03:01:29 PM »
        Ok I found it

        <object
        height="50%"
        width="50%"
        classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
        <param name="AutoStart" value="1" />
        <param name="FileName" value="liar.wav" />
        </object>

        And it goes between the body tag.

        What browsers is this good for?

        kpac

        • Web moderator
        • Moderator


        • Hacker

        • kpac®
        • Thanked: 184
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 7
        Re: music help
        « Reply #29 on: May 07, 2010, 08:15:09 AM »
        To make it work in all browsers, place the <embed> tag between the <object> tag.