mike chambers | about

Flash Video Test (#2) : Multiple Streams : StarWars BattleFront

Monday, October 4, 2004

I have been player around with Flash video for the past couple of days, and have been running a couple of tests. The first test was to test a hardware setup to get live video from a video source (in this case an Xbox) to Flash. This test is testing the ability to play back different video streams in Flash based on the user’s bandwidth.

So, here is a simple video clip of my playing a level of StarWars BattleFront on the Xbox:

The quality of the video and sound will depend on your bandwidth. The slower your connection, the lower the quality of the video and sound. This allows me to offer multiple versions to ensure the best possible experience for all users.

Btw, I am using Peldi’s FLVPlayer (which rocks). Thanks to Peldi for putting it together, and helping me work out some kinks in my code.

One tip with using the FLVPlayer. If you want to install the player in one place on your web server and then load it from multiple pages / directories, make sure to set the BASE attribute (within the player’s object and embed HTML tags) to “.”. This will tell Flash to load its resources (such as the player skins) relative to the FLVPlayer.swf file, and not relative to the HTML page / directory that the file is loaded into. You can read more on this in this technote.

If you seem to be getting poor quality for your connection, try to reload the page. You connection may have been busy / full when the player detected your bandwidth.

If you have any problems viewing the video, post your info in the comments (include browser, OS, Flash player version and connection speed).

twitter github flickr behance