Check if the source format is supported by the browser before adding it. 

Currently no check related to the file format are done before adding it to the player as source. This simple patch adds this new checks during the source selection.