Added a check to disable the player if the browser does not support the canPlayType method.