Providers
Video
The video provider is used to embed video content into documents via the native <video>
element.
Usage
Multiple Sources
The list of supported media formats varies from one browser to the other. You should either provide your video in a single format that all the relevant browsers support, or provide multiple video sources in enough different formats that all the browsers you need to support are covered.
Source Objects
The src
property on the player accepts any of the following source objects:
Video Element
You can obtain a reference to the underlying HTMLVideoElement
element like so:
Event Target
The HTMLVideoElement
can also be referenced on all media events like so: