AI-generated Key Takeaways
-
LoadEvent provides event data for processing load or preload requests made to the player.
-
The LoadEvent constructor requires a
typeparameter and optionally acceptsmediainformation. -
The
mediaproperty within a LoadEvent provides information 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.