added size to player
fixed definition of media source to pass jshint