Added process for extracting the video content type from the 'type' attr...

...ibute of the currently playing video source.

Added support for an optional 'appID' attribute on the video element, in order to support custom cast receivers.
`contentType.indexOf(";")` should be saved in a variable instead of running twice