Video Streaming for Web Player

Hello all:

I am building a web player that right now is far too large. My main culprit are the videos that I still have inside of the build. So I have a question about streaming video, since I would like to get my videos out of my build to reduce the size of the web player.

I have not been able to find any tutorials or anything like that, and if you know of any please, by all means, provide links. But my question is this: when streaming video content, do the videos need to be hosted on a site, or can they just sit in a folder in the same location as my web player? As of right now I don’t have a test server set up or anything like that, so I am at a loss of how to test to make sure I have my code written correctly. Actually, right now I don’t even have any code written for streaming videos.

Any help would be greatly appreciated.

Thank you.

Once you upload your web player somewhere, “Hosting on a site” and “Sitting in a folder in the same location as my web player” are the same, since you are hosting your web player on a site.

In the web player you can use relative URLs to find files next to your web player. Like this:

www = new WWW ("myMovie.ogg");

See here for a sample on how to stream a movie from a url.