mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #32645 from drewwyatt/jwplayer/add-cast-event
[@types/jwplayer] Added 'cast' event
This commit is contained in:
Vendored
+9
@@ -7,6 +7,7 @@
|
||||
// Benjamin Dobson <https://github.com/bpdsw>
|
||||
// Be Birchall <https://github.com/bebebebebe>
|
||||
// Daniel Cassidy <https://github.com/djcsdy>
|
||||
// Drew Wyatt <https://github.com/drewwyatt>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
@@ -264,6 +265,13 @@ declare namespace jwplayer {
|
||||
reason: 'auto' | 'api' | 'initial choice';
|
||||
}
|
||||
|
||||
interface CastParam {
|
||||
available: boolean;
|
||||
active: boolean;
|
||||
deviceName: string;
|
||||
type: 'cast';
|
||||
}
|
||||
|
||||
interface EventParams {
|
||||
adClick: AdProgressParam;
|
||||
adCompanions: AdCompanionsParam;
|
||||
@@ -277,6 +285,7 @@ declare namespace jwplayer {
|
||||
adPlay: AdPlayParam;
|
||||
adPause: AdPlayParam;
|
||||
adTime: AdTimeParam;
|
||||
cast: CastParam;
|
||||
meta: MetadataParam;
|
||||
audioTracks: AudioTracksParam;
|
||||
audioTrackChanged: AudioTrackChangedParam;
|
||||
|
||||
Reference in New Issue
Block a user