Results 1 to 7 of 7

Thread: Is bg music possible?

  1. #1
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default Is bg music possible?

    I am using css on my web ( a very basic css) basically to define padding and colors, and nothing more. But I do use the same background music when I am using a certain css.. In keeping with my ideal of having a very small very clean source code, is it possible to include the bgsound IN the css??

    If so what would I do to put it there?


    Thanks
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    A good question, but one to which I'll have to answer, after some research: I don't think so.

    Not that I recommend using background sound in web pages in the first place.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by BLiZZaRD
    [...] is it possible to include the bgsound IN the css??
    No.

    Mike

  4. #4
    Join Date
    Nov 2005
    Posts
    93
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is is possible to get reliable background music using any combination of techniques,
    and have it work across browsers?

    Apparently when hell freezes over.

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    <embed> works fine over most browsers.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm not big on CSS or exactly what it is, but I've used the simple embed tags myself. However depending where you are trying to embed music you may need to use slightly differnt coding. I asked my buddy to do a search a while back so here is a good link I feel: http://www.thesitewizard.com/webdesi...undmusic.shtml

    I however, use ripway.com for a host now and run small midi files from it (free account). These files are easy on any remaining dial-up users and load instant for the most part and RIPWAY gives me codes automaticly that I can cut and paste for my files. Although the formentioned link will even inform you that music can get annoying to viewers, so they show you another option to make it easy on the viewers (click to play).

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Agreed: "click to play" is always a good idea.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •