SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2011
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy getting sound files to work after website has been uploaded

    hi all,
    trying to get sound on the website.
    works while i am offline in the browser ( firefox and ie )
    after uploading files no good.
    i was using quicktime and it worked.
    here is the code:
    <div id="locate"><!--begin of locate-->
    <embed src="DANCE WITH ME DARLIN'.MP3"type="audio/wav"/>
    </div><!--end of locate-->

    also tried:
    <div id="locate"><!--begin of locate-->
    <embed src="DANCE WITH ME DARLIN'.wav"type="audio/wav"/>
    </div><!--end of locate-->

    not sure how to get any of the audio player downloads into my website files
    i put them there but still nothing
    tried a few different scenarios but still screw it up.
    help.
    thanks
    mike

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2011
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    getting sound files to work on a live website

    hi all,
    put quicktime and windows media player in the folder with the uploads
    and still no good. the q from quicktime shows itself but never reverts to
    play rew ff etc. face. if anyone can help me they can go to the website
    heartbeatsoundsmusic.com and check all of the code.
    it's very basic so i can't figure out why it doesn't work.
    i also tried the <object> and the xspf to some degree but now i am frustrated.
    nothing works and i know it's something simple ( like always )
    help.
    thanks
    mike

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,621
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    I don't see any music files/links there. Where are they meant to be?

  4. #4
    SitePoint Enthusiast
    Join Date
    May 2011
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi ralph,
    the song files are in the song page. you just hit the song you want to hear and it should play using quick time.
    before i put the website online it worked. i am a beginner at web building so obviously i must have gone about this the wrong way. if you go to the website ( heartbeatsoundsmusic.com ) you can see how i went about it. maybe you can advise me how to construct my website more efficiently. i am having problems with all types of sound embedding codes. ( there are many and are supposed to be easy to implement but none seem to work for me. ) probably because of my web construction. i have trouble with the terminology that a lot of people assume i know. the more simple the explanation the better for me. thanks.
    mike

  5. #5
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,621
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Audio and video are tricky, because no one browser supports all audio formats, I'm afraid. So you usually have to use some kind of converter first to create a few versions of the audio file--such as Handbrake.

    Then there are some plugins you can use for adding the video to your page, such as

    http://www.jplayer.org/
    http://html5doctor.com/native-audio-in-the-browser/
    http://flowplayer.org/plugins/streaming/audio.html
    http://kolber.github.com/audiojs/

    I have only used Flowplayer, but next time I will probably try jplayer. All I can suggest is you try to follow the instructions there and ask questions when you get stuck.

  6. #6
    SitePoint Enthusiast
    Join Date
    May 2011
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face embedding sounds on webpage

    hi ralph,
    thanks for the get back. found a quickie solution to my problem in case anyone else is interested.

    <embed src="SONG NAME GOES HERE.mp3"
    type="audio/x-mp3"
    </embed>

    this works for quicktime with a slight delay initially coming on ( 5 - 10 seconds ) but then all files
    after that come on within 2 - 3 seconds. As I progress in coding I will try some better tecniques but for now this will suffice.
    Ralph if you get a chance to look at my website ( it is very static as of now ) and the code
    I would appreciate any suggestions to make it more interesting and/or places to learn as a beginner coder.
    Hopefully in baby steps. lol.
    Thanks again.
    Mike

  7. #7
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,621
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Glad you found a solution that works for you, Mike.

    Quote Originally Posted by MICK1955 View Post
    I would appreciate any suggestions to make it more interesting and/or places to learn as a beginner coder.
    Hopefully in baby steps. lol.
    I recommend that you submit your site for a site review in our review forum here. (Make sure to read the guidelines first, though.)


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
  •