Specialize the Player class for Flash and HTML5.
Specialize the Player class for Flash and HTML5.

Instead of having a generic class for both player types, create
separate ones for each and move specific codes to these classes.

eugenox/yays,eugenox/yays