The HTMLMediaElement.canPlayType() method determines whether the specified media type can be played back.
The Window.URL property returns an object that provides static methods used for creating and managing object URLs.
It can also be called as a constructor to construct URL objects.