File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes WS/JScript Based Mp3 Radio without Flash Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WS/JScript Based Mp3 Radio without Flash" Watch "WS/JScript Based Mp3 Radio without Flash" New topic

WS/JScript Based Mp3 Radio without Flash

Jackie Gleason

Joined: Aug 12, 2008
Posts: 8
Hey everyone I have heard great things about you from people I work with. So here is what I am trying to do and any insight would be great.

I have a site I would like to add the ability to start a song, stop, PAUSE, and skip forward to a new song. I would like the next song to be played to be random from a list of files, and I would like to do all of this without the help of flash.

Here is what i am thinking...

Have a web service that sends a buffered stream as a response, then consume somehow consume the service in the browser. Maybe send another request to pause/continue the stream. so...

1.) I have never done anything with sending a stream through a web service before, however, I would think it would be just like sending a normal response is this correct?
2.) How would I consume the stream in my browser using Javascript?

Any ideas? I am thinking I am going to be stuck using flash, however, I would love to avoid it.
I agree. Here's the link:
subject: WS/JScript Based Mp3 Radio without Flash
It's not a secret anymore!