Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Music

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #35084

    I am brand new to CSS and I was wondering if there was a way to insert music into a website. What I’m looking for is the type of music you hear right away and continuously when you go to a movie website. It plays when you enter the website and it just loops until you close the website. Like this website (once you get past the trailer) http://wwws.warnerbros.es/crazystupidlove/index.html. Thanks to anyone who can help me!

    #90323
    jamygolden
    Member

    I agree with @TT_Mark, it’s very annoying. You could have a look at a HTML5 audio player.

    #90340
    WCMiller
    Member

    Adding my $0.02, I’d like to say “don’t do it” as well. Having autoplay audio is an instant tab killer for me, unless I absolutely have to use the site. Having the option might be nice, like Robskiwarrior said, but don’t make it play by default. If, for some reason you absolutely must put autoplay music on the site, make sure that your users can easily see (and kill) the player. I listen to music while browsing, and I find it absolutely infuriating when I open up a couple tabs and have music start playing in one of them, and not be able to easily tell by looking at the pages which one the music’s coming from. Making the player hidden and inaccessible, and you’ve earned my eternal enmity.

    The only reason I could see making audio autoplay is if it’s something like a podcast episode’s page, and you make sure that the user knows the autoplay is coming, and they can still disable it easily. That’s about it, however, and I personally would still prefer to start the audio manually.

    #90364
    Chris Coyier
    Keymaster

    Super sneak preview: https://css-tricks.com/examples/GroovesharkPlayer/

    (No guarantees how long that will be there or if it will stay the same)

    And yea. autoplay = generally bad. option to play music = sometimes cool.

    #90381
    standuncan
    Member

    Unfortunately I had a client (Afghan Restaurant web site) just yesterday who demanded music be installed on his site, and have it auto-playing. There was nothing I could do, except give him my insight on why it is a bad idea, but he didn’t care. I searched high and dry yesterday looking for a nice html5 audio player “skinned” plugin (cross browser compatible) without any luck. I ended up using “jplayer” and used the audio he referenced. I will try custom skinning the player later today.

    I can only hope this customer will receive many complaints on this audio auto-playing audio feature so I can remove it in the future lol.

    #90426
    jqueeng02
    Member

    I totally agree with them crashgordon2390. Music can sometimes be annoying. We choose the music we want to hear.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.