There are several methods to stream your video, this article will eventually cover each method.
Streaming with Flash
For now lets cover an increasingly used method, which is converting your videos to flash. The flash player installed on your users system will automatically start playing the file while its downloading, this dose however not work in Internet explore. Luckily there is simple, and well known solution, which i describe later.
The code to embed a flash file is displayed below:
<object type="application/x-shockwave-flash" data="Player.swf?path=Video.swf" style="width:320px;height:240px;"> <param name="movie" value="Player.swf?path=Video.swf"> </object>
To make Streaming work in Internet explore, we need to include the video inside another swf file.
Before we can do this, we need to tell the other file where the video is located, this is done through the use of an URL parameter, Player.swf?path=(YourVideoHere.swf). Luckily we could use this to our advantage by designing our own player in ActionScript, more on this later.
I expect to update this article, when i got better time.
For now, simply make a new flash file called Player.swf, with a single frame containing the following actionscript:
This should make sure your streaming works both in IE as well as other browsers.