An player that can play live streaming, like HLS or MJPG, and playback video, like MP4 or AVI.
PlaybackStrategy and the concrete strategies are:ClapprPlaybackStrategy - _.mp4, .m3u8, ..._MjpgPlaybackStrategy - _.avi_MjpgLiveStrategy - _Motion JPEG live stream on HTTP_##### Clappr Playback StrategyClapprPlaybackStrategy is trivial for it is an implementation of clappr's usage. See more from
clappr.io.
##### MJPG Playback StrategyMjpgPlaybackStrategy is implemented as a state machine.
The states are:
- Init
- Buffering,
- Buffered,
- Playing,
- Paused,
- Stopped,
- PlaybackCompleted.
The transitions involve:
- seek(),
- play(),
- pause(),
- stop().
##### MJPG Live StrategyMjpgLiveStrategy realizes its behaviors by inserting http://.../.mjpg source into DOM with the
help of TabManager.