MP3 player in HTML

Discussion in 'HTML & Website Design' started by baronet-a, Nov 6, 2009.

  1. #1
    Does anyone know to to integrate an mp3 player into html?
    Basically i'm selling some items on ebay and want my customers to be able to listen to prerecording with option play and pause. Any suggestions ? like nood friendly suggestions)))
     
    baronet-a, Nov 6, 2009 IP
  2. ander

    ander Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try embedding a flash or java applet that meets your requirements. I'm sure that you will find a few freeware solutions out there.
     
    ander, Nov 7, 2009 IP
  3. ifreakz

    ifreakz Well-Known Member

    Messages:
    1,427
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #3
    You can try embeding Windows Media Player there however there are flash players available as well.
    here is an example code for embeding Media Player

    File Name is videofilename.wmv here, You need to replace that with your own filename or location.

    Hope that helps.
     
    ifreakz, Nov 7, 2009 IP
  4. baronet-a

    baronet-a Active Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Thanks dude that is exactly what i was looking for... +rep u for sure.

    I have another question. In the field where u enter path for audio file (videofilename.wmv) can i use web address from mp3 hosting website? i tried to put in direct link but it didn't work. Any suggestions?
     
    baronet-a, Nov 7, 2009 IP
  5. ifreakz

    ifreakz Well-Known Member

    Messages:
    1,427
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #5
    I used this when i streamed shoutcast.
    So make sure the output is mp3
    Let me know if it works else we'll figure out a fix or alternative.
     
    ifreakz, Nov 7, 2009 IP
  6. baronet-a

    baronet-a Active Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #6
    I'm trying to integrated it into my ebay ad. that's what i did:

    some how it didn't work... let me know if i did something wrong there.
     
    baronet-a, Nov 7, 2009 IP
  7. RaPeRbOy

    RaPeRbOy Active Member

    Messages:
    425
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    90
    #7
    Try this with google mp3 player.
    The code will be:

    <embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=MP3_FILE_URL" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />

    so replace MP3_FILE_URL with your mp3 url.
    Should work, enjoy!
     
    RaPeRbOy, Nov 7, 2009 IP
  8. baronet-a

    baronet-a Active Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #8
    i replaced it with http://www.supload.com/listen?s=ngQVMP
    but it didn't work... May be it's a shitty mp3 host? +rep man for hell... player looks pretty good!
     
    baronet-a, Nov 7, 2009 IP
  9. ifreakz

    ifreakz Well-Known Member

    Messages:
    1,427
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #9
    Obviously that won't work. That's not the source url, It's the webpage.

    http://www.supload.com/mp3w/ngQVMP.mp3
    Code (markup):
    That's your source url.
     
    ifreakz, Nov 7, 2009 IP
  10. RaPeRbOy

    RaPeRbOy Active Member

    Messages:
    425
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    90
    #10
    he`s right.
     
    RaPeRbOy, Nov 7, 2009 IP
  11. togu25

    togu25 Peon

    Messages:
    157
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    togu25, Nov 7, 2009 IP
  12. baronet-a

    baronet-a Active Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #12
    yeah that works, but have did u get this address "http://www.supload.com/mp3w/ngQVMP.mp3" ??? sorry for being a noob.
     
    baronet-a, Nov 7, 2009 IP
  13. baronet-a

    baronet-a Active Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #13
    yeah it work like a charm... i just can see where he got that address... i looked all over the page.
     
    baronet-a, Nov 7, 2009 IP
  14. ifreakz

    ifreakz Well-Known Member

    Messages:
    1,427
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #14
    By viewing source or using IDM (Internet Download Manager).

    If you have a web-host upload the files there, or use free hosts like 110mb, byethost, t35 hosting and so on.
     
    ifreakz, Nov 7, 2009 IP
  15. baronet-a

    baronet-a Active Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #15
    I tried to look in page source by it wasn't there. But i got it with IDM... Thank a lot man... +rep u again!
     
    baronet-a, Nov 7, 2009 IP
  16. Sharkdancer

    Sharkdancer Peon

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    thanks a lot..
     
    Sharkdancer, Nov 8, 2009 IP