Best practices for building Flash video player

Question :

Best practices for building Flash video player,

Answer :

We have a custom-built Flash-based video player that I maintain, and it needs to support preroll ads and ideally both progressive video playback and streaming depending on a server switch.

I’ve been working with the flvPlayback component but am finding myself a little out of my depth. Are there any good tutorials or resources for understanding the difference between netstream and flvPlayback? Or is one part of the other? Have googled without success.

For the preroll ads we’ll probably use DART In-Stream, which is part of the reason I feel I’m losing a grip on the best way to structure this thing.

Read More  Removing N items from a list conditionally

Any help with best practices or links most appreciated – ta!

EDIT – Update: I wrote a player by hand and got it more or less working with everything it needed to do, but we did migrate to JW Player across all the web properties in the end, about six months later. It’s very reliable and well-supported, it integrated with the DART system well, and the designers found it easy to skin.


I would definitely have a look at the JW Flash Media Player:

Read More  Optimize Windows Form Load Time


It’s Open Source, and I found the Source quite clean and easy to understand, it also supports playlists. I don’t know the DART In-Stream stuff, but maybe you could “creatively use” the playlist feature to achieve that?

Source Code is available here:

That’s the answer Best practices for building Flash video player, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you

Read More  What are the advantages/disadvantages of using a CTE?