zencoder/video-js-swf — pull request #2 by alemay (2012-01-27 00:17:11+00:00)
Title: Mediaprovider

The player codebase has been considerably refactored to revolve around the notion of media providers, which will allow us to encapsulate functionality by type (audio, video), transport (HTTP, RTMP) and implementation (Apple HLS, Adobe HDS, etc).

This will allow us to expand the features and functionality of the player without clogging up the model with messy conditionals.

Three providers have been created against the new IMediaProvider interface: HTTPVideoProvider, RTMPVideoProvider, and HTTPAudioProvider.

Attempts have been made to mimic (as closely as the Flash player will let us) expected HTMLMediaElement methods, properties and behavior.

Due to the amount of difference between this codebase and the previous one, some serious regression testing is probably in order.