MCPcopy
hub / github.com/angular/components / PendingPlayerState

Interface PendingPlayerState

src/youtube-player/youtube-player.ts:80–86  ·  view source on GitHub ↗

* Object used to store the state of the player if the * user tries to interact with the API before it has been loaded.

Source from the content-addressed store, hash-verified

78 * user tries to interact with the API before it has been loaded.
79 */
80interface PendingPlayerState {
81 playbackState?: PlayerState.PLAYING | PlayerState.PAUSED | PlayerState.CUED;
82 playbackRate?: number;
83 volume?: number;
84 muted?: boolean;
85 seek?: {seconds: number; allowSeekAhead: boolean};
86}
87
88/** Coercion function for time values. */
89function coerceTime(value: number | undefined): number | undefined {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…