AI-generated Key Takeaways
-
LoadEvent
provides data for events related to loading or preloading media in the player. -
It's constructed with a type (cast.framework.events.EventType) and optional media information (cast.framework.messages.MediaInformation).
-
The
media
property offers details about the media being loaded.
cast.framework.events. LoadEvent
Event data for all events pertaining to processing a load or preload request. made to the player.
Constructor
LoadEvent
new LoadEvent(type, media)
Parameter |
|
---|---|
type |
cast.framework.events.EventType Value must not be null. |
media |
Optional cast.framework.messages.MediaInformation Value must not be null. |
Property
media
(non-null cast.framework.messages.MediaInformation or undefined)
Information about the media being loaded.