Adding Music to WordPress Site - Need Help

6 replies
Warriors:

I have a client that wants background "elevator" music to play automatically when a visitor comes to her WordPress website. The music is in mp3 format.

I can get the music to play when someone comes to the home page, but I don't know how to code the site so that the music continues during the visitor's whole session at the site.

I can add music to each web page, but then the music starts again from the beginning of the track with each change of page - that's annoying and not what I want.

I'm trying to do this without a visible flash music player on the site.

Can you help me? Is there a way to add continuous uninterrupted background music that lasts for a whole visitor session, regardless of where that visitor clicks on the site?

Thanks so much.

Steve
#adding #music #site #wordpress
  • Profile picture of the author asidewalk
    Man that sounds interesting. I'm not excited about this solution, but off the top of my head, I can only think of using an iframe.

    Imagine a page with your script that has the music playing, and then a giant iframe, that you load the actual website in. I think that will allow you to surf around the site without the music changing, as the actual page doesn't change... just the contents inside the iframe.

    You might get issues with people wanting to bookmark a page though... and I don't know how it would effect crawlers for SEO.
    {{ DiscussionBoard.errors[4777619].message }}
  • Profile picture of the author SteveJohnson
    Autoplaying music is SO such a bad idea. And with 'no visible player' how is a visitor supposed to turn it off? Bad, bad, bad idea.

    But to answer your question, no, there isn't any way to do it unless you load the subpages of the site in a frame or iframe.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[4778345].message }}
  • Profile picture of the author KirkMcD
    Oh God! Please don't do that.
    It was a bad idea in the 90's and even worse now.
    And no way to turn it off? I'd never go back to the site again.
    Oh and if you do decide to do this anyway, you better have the permission of who's ever music it is.
    {{ DiscussionBoard.errors[4778564].message }}
    • Profile picture of the author Steve B
      Thanks all for your suggestions.

      I totally agree and hate the idea. I have tried to talk the lady out of it . . .

      but . . . she insists and I want to try to please her.

      Steve
      Signature

      Steve Browne, online business strategies, tips, guidance, and resources
      SteveBrowneDirect

      {{ DiscussionBoard.errors[4778669].message }}
  • Profile picture of the author DavidWincent
    Frankly speaking about your plans, it wouldn't be nice to hide the music player. How will the visitor turn off the music? It will be annoying for him. Still if you want to play the music, the only solution seen by me is to load the subpages of the site in an iframe.
    Signature
    Webmaster Studio -A premier web design and internet marketing company in New York.
    {{ DiscussionBoard.errors[4911078].message }}
  • Profile picture of the author FreeZeo
    i hope this helps

    wordpress. org/extend/plugins/audio-player/

    Features include:

    --configurable colour scheme to match your blog theme
    --volume control
    --right-to-left layout switch for Arabic and Hebrew language sites
    --many options such as autostart and loop
    ID3 tag support (custom track info also available)
    {{ DiscussionBoard.errors[4915412].message }}

Trending Topics