Results 1 to 10 of 10

Thread: Html Help

  1. #1
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Html Help



    I'm a new guy at HTML and JavaScript so can someone tell me how to add music to my code and and the on/off feature. Also can you put it in normal English cause in very new and I'm just lerning. THANK YOU to whoever responds.


  2. #2
    Join Date
    Feb 2007
    Posts
    293
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Generally, most people advise avoiding music on web pages because it can get annoying. But if you really have a specific reason for it... first save your music as a file that can be played online. From you're question, that would probably be a .wav or .mid

    Then you upload to your server. If you want someone to click and hear music, it would just be a regular links like

    <a href="music.mid">Hear music</a>

    That lets people choose if they want to hear music or not. If you wanted it embedded, it would be

    <embed src="music.mid" />

    Use autostart to make it start automatically, and loop to make it play more than once.

    <embed src="music.mid" autostart="true" loop="false" />

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    There have been a lot of discussions on this subject, so if you search for "embedding sound" "playing sound on page" and things like that, you can probably find some old topics that have more info too.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks everybody i really needed that. And i can't exactly say what it is that i need the music for because it goes against the rules here and in the U.S its against the law.

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

    Default

    Quote Originally Posted by Mlopez1993 View Post
    And i can't exactly say what it is that i need the music for because it goes against the rules here and in the U.S its against the law.
    A reply like that implies that you intend to serve copyright-protected audio over the Internet without permission from the copyright holders. For your information, that isn't just illegal in the United States, it's illegal in virtually every country on the planet.

    Most nation states are signatories to the World Trade Organisation (WTO), and the Charter requires that member states enforce copyright legislation to allow for fairer trading between nations.
    Mike

  6. #6
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah i know but i was bron in the u.s and i live in a little country where the laws don't matter called the DOMINICAN REPUBLIC so here i'll never get caught

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

    Default

    Quote Originally Posted by Mlopez1993 View Post
    Yeah i know but i was bron in the u.s and i live in a little country where the laws don't matter called the DOMINICAN REPUBLIC so here i'll never get caught
    The Dominican Republic has been a member of the WTO since March 1995.
    Mike

  8. #8
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Dude i know that but there is no law reinforcement.

    in this place the police once found 400 kilos of cociane being sold in the casino in front of the station and the records don't show where it went to afterwards. They wont worry about me and an illegal website

  9. #9
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    If you are actually going to do something illegal, then please don't tell us about it.
    And just because someone doesn't catch you that doesn't mean it's ok. As such, you can't just say the police don't do anything, so help me anyway.

    Additionally, it's quite possible to illegally download/upload music in the US as well. But we don't help with that, either.

    anyway, you asked a question and I think you have the answer. right?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  10. #10
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok you're right you win and I'm wrong but my final point is that i need help to put music optionally on my web site legal or illegal and i did get my answer and i made a stupid comment but do you really have to blow things out of proportions??? Don't answer this thread is done and unless anyone has any real important point that has to do with the subject at hand lets just end this.

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
  •