How to link the playlist/stream to my website?
  • Vote Up0Vote Down AmanAman
    Posts: 6Member
    I want to know how to link the playlist i create in airtime to the audio tag i have on my webpage?
  • 5 Comments sorted by
  • Aman, use this HTML5 snippet as a guide...

    <audio controls="" autobuffer="" x-webkit-airplay="allow">
    <source src="http://server.domain.tld/mount" type="audio/mpeg">
    </audio>

    That's all there is to it! Works on Safari 5+, IE 9+, and Chrome 6+ if you use MP3. Firefox MP3 support is pending.
    Post edited by Roger Wilco at 2013-06-02 08:47:02
  • Hi Roger,
    In the above snippet what is tld? Can you plug in some mock details so I can better understand? Is domain the location of the server or is it icecast/shoutcast?
    Thanks for sharing!
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    tld stands for Top-Level-Domain.
    f.e. .com or just .locale if your just in a local domain.
    afaik you point to icecast-server
    fg
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • Ha! Beat me to it! :)
    Post edited by Roger Wilco at 2013-06-02 16:46:24
  • LOL, thanks guys!