The location of the asset to load
The width the media should render at. Any implementation should render the media in coverage style; the media should cover the full width, even if it cuts off parts of the height
Invoked when the dimensions of the media is known. Not this can be invoked before the media is loaded as the dimensions can often be read from the header data of the media source
the current state of the media
Invoked when the media creates a loading error or another fatal error
the error that occurred
the resource
Invoked when the resource has completed loading
the loaded resource
Provides progress updates on the loading resource.
values in the range [0, 1]
The height the media should render at. Any implementation should render the media in coverage style; the media should cover the full height, even if it cuts off parts of the width