Jump to content

newbie question about html streaming


mru21
 Share

Recommended Posts

I am running a apache server from my home, and have written a basic webpage using html that links to a page with some music on it ( that links to a file with mp3s ) so I can listen to it at school.I would like to know how I can stream from this page using html. I can play a single song at a time now. not sure if this makes any since to anyone, But thanks for any help!!! Mike

Link to comment
Share on other sites

[size=4][color=#FF0000]this is the code on the homepage:[/color][/size]<HTML> <body><h3> Welcome to my server.</h3> <br><p><a href="were the music is">File please click here!!</a></p> <br><br><br><br> </a></font></p> <p><a href="[email="xxxxxxxxxxxxxxxx"]mailto:xxxxxxxxxxxxx.com[/email]"><img src="images.jpg" width="50" border="[url=""%5D0%5B/url%5D"></a></p><p><font size="%5Burl=""]0[/url]">If you have comments about<br> these pages, I would be happy<br> to hear them. <b> Email me <b> <p><font size="[url=""]1[/url]">This page was last updated on 06/23/12. </p> <a href="[url="view-source:http://www.reliablecounter.com/"][url="http://www.reliablecounter.com"][url="http://www.reliablecounter.com"]http://www.reliablecounter.com[/url][/url][/url]" target="[url=""]_blank[/url]"><img src="[url="view-source:http://www.reliablecounter.com/count.php?page=mikes-server.net&digit=style/plain/10/&reloads=1"][url="http://www.reliablecounter.com/count.php?page=mikes-server.net&digit=style/plain/10/&reloads=1"][url="http://www.reliablec...n/10/&reloads=1"]http://www.reliablec...n/10/&reloads=1[/url][/url][/url]" alt="[url=""]Free HTML Online Counter[/url]" title="[url=""]Free HTML Online Counter[/url]" border="[url=""]0[/url]"></a><br /><a href="[url="view-source:http://www.reliablecounter.com/"][url="http://www.reliablecounter.com"][url="http://www.reliablecounter.com"]http://www.reliablecounter.com[/url][/url][/url]" target="[url=""]_blank[/url]" style="[url=""]font-family: Geneva, Arial; font-size: 9px; color: #330010;text-decoration: none;[/url]">Free HTML Online Counter</a></body></HTML> [color=#ff0000][size=4]and this is the page that the link goes to:[/size][/color] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head> <title>Index of /were the music is</title></head><body><h1>Index of /were the music is</h1><ul><li><a href="[url="view-source:http://xxxxxxxx/"]/[/url]"> Parent Directory</a></li><li><a href="[url="view-source:http://xxxxxxxxx/were%20the%20music%20is/38%20Special/"]38%20Special/[/url]"> 38 Special/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxx/were%20the%20music%20is/A%20Whiter%20Shade%20Of%20Pale.mp3"]A%20Whiter%20Shade%20Of%20Pale.mp3[/url]"> A Whiter Shade Of Pale.mp3</a></li><li><a href="[url="view-source:http://xxxxxxxxxxx/were%20the%20music%20is/America/"]America/[/url]"> America/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxx/were%20the%20music%20is/Atlanta%20Rhythm%20Section/"]Atlanta%20Rhythm%20Section/[/url]"> Atlanta Rhythm Section/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxx/were%20the%20music%20is/Blackfoot/"]Blackfoot/[/url]"> Blackfoot/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxxx/were%20the%20music%20is/Blue%20Oyster%20Cult/"]Blue%20Oyster%20Cult/[/url]"> Blue Oyster Cult/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxxxxt/were%20the%20music%20is/Boz%20Scaggs/"]Boz%20Scaggs/[/url]"> Boz Scaggs/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxxxt/were%20the%20music%20is/Bread/"]Bread/[/url]"> Bread/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxx/were%20the%20music%20is/Christopher%20Cross/"]Christopher%20Cross/[/url]"> Christopher Cross/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxx/were%20the%20music%20is/Creed/"]Creed/[/url]"> Creed/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxx/were%20the%20music%20is/Creedence%20Clearwater%20Revival/"]Creedence%20Clearwater%20Revival/[/url]"> Creedence Clearwater Revival/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxx/were%20the%20music%20is/Crosby%20Stills%20&%20Nash/"]Crosby%20Stills%20&amp;%20Nash/[/url]"> Crosby Stills &amp; Nash/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxx/were%20the%20music%20is/Crosby,%20Stills%20&%20Nash%20%28And%20Young%29/"]Crosby,%20Stills%20&amp;%20Nash%20(And%20Young)/[/url]"> Crosby, Stills &amp; Nash (And Young)/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxxx/were%20the%20music%20is/Dan%20Fogelburg/"]Dan%20Fogelburg/[/url]"> Dan Fogelburg/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxxxx/were%20the%20music%20is/Don%20Mclean/"]Don%20Mclean/[/url]"> Don Mclean/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxx/were%20the%20music%20is/Emerson,%20Lake%20&%20Palmer/"]Emerson,%20Lake%20&amp;%20Palmer/[/url]"> Emerson, Lake &amp; Palmer/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxxxx/were%20the%20music%20is/Foghat/"]Foghat/[/url]"> Foghat/</a></li><li><a href="[url="view-source:http://xxxxxxxxxxxxxxxxxxxxwere%20the%20music%20is/For%20What%20It%27s%20Worth.mp3"]For%20What%20It's%20Worth.mp3[/url]"> For What It's Worth.mp3</a></li></ul></body></html> Edited by mru21
Link to comment
Share on other sites

You can create/generate a playlist, and run the playlist instead of the individual files. To generate the playlist on-the-fly (so that the playlist always contains all MP3s), you'll have to actually use a programming language, such as PHP for example.There is no standard playlist format though. You'll have to use whatever format your player at school supports. If it's Windows Media Player for example, you can use WPL or ASX playlists. In my experience, ASX playlists seems to work better for HTTP files, while WPL works better for local files and network shares.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...