@theoplayer/extended 4.6.0 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THEOplayer.chromeless.js +3 -3
- package/THEOplayer.d.ts +43 -27
- package/THEOplayer.js +3 -3
- package/THEOplayer.transmux.asmjs.js +3 -3
- package/THEOplayer.transmux.js +3 -3
- package/package.json +1 -1
- package/theoplayer.d.js +3 -3
- package/theoplayer.e.js +3 -3
- package/theoplayer.p.js +3 -3
- package/theoplayer.sw.js +3 -3
- package/ui.css +1 -1
package/THEOplayer.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* THEOplayer
|
|
3
3
|
* https://www.theoplayer.com
|
|
4
4
|
*
|
|
5
|
-
* Version: 2023.1.
|
|
5
|
+
* Version: 2023.1.2 (4.8.0)
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -121,6 +121,7 @@ export declare interface Ad {
|
|
|
121
121
|
* <br/> - `'google-ima'`
|
|
122
122
|
* <br/> - `'google-dai'`
|
|
123
123
|
* <br/> - `'freewheel'`
|
|
124
|
+
* <br/> - `'mediatailor'`
|
|
124
125
|
*
|
|
125
126
|
* @defaultValue `'theo'`
|
|
126
127
|
*/
|
|
@@ -172,7 +173,7 @@ export declare interface Ad {
|
|
|
172
173
|
*/
|
|
173
174
|
height: number | undefined;
|
|
174
175
|
/**
|
|
175
|
-
* The URI of the
|
|
176
|
+
* The URI of the ad content.
|
|
176
177
|
*
|
|
177
178
|
* @remarks
|
|
178
179
|
* <br/> - Available when the {@link Ad.readyState} is `'ready'`.
|
|
@@ -231,6 +232,7 @@ export declare interface AdBreak {
|
|
|
231
232
|
* <br/> - `'google-ima'`
|
|
232
233
|
* <br/> - `'google-dai'`
|
|
233
234
|
* <br/> - `'freewheel'`
|
|
235
|
+
* <br/> - `'mediatailor'`
|
|
234
236
|
*/
|
|
235
237
|
integration: string | undefined;
|
|
236
238
|
/**
|
|
@@ -1168,7 +1170,7 @@ export declare interface BufferedSegments {
|
|
|
1168
1170
|
|
|
1169
1171
|
/**
|
|
1170
1172
|
* Helper type that represents either an ArrayBuffer or an ArrayBufferView.
|
|
1171
|
-
* Inspired by https://
|
|
1173
|
+
* Inspired by {@link https://webidl.spec.whatwg.org/#common-BufferSource}.
|
|
1172
1174
|
*
|
|
1173
1175
|
* @public
|
|
1174
1176
|
*/
|
|
@@ -1275,7 +1277,7 @@ export declare interface CachingTask extends EventDispatcher<CachingTaskEventMap
|
|
|
1275
1277
|
/**
|
|
1276
1278
|
* The time ranges cached.
|
|
1277
1279
|
*/
|
|
1278
|
-
readonly cached:
|
|
1280
|
+
readonly cached: TimeRanges_2;
|
|
1279
1281
|
/**
|
|
1280
1282
|
* The duration cached, in seconds.
|
|
1281
1283
|
*/
|
|
@@ -1919,7 +1921,7 @@ export declare class ChromelessPlayer implements EventDispatcher<PlayerEventMap>
|
|
|
1919
1921
|
/**
|
|
1920
1922
|
* Returns a TimeRanges object that represents the ranges of the media resource that the player has buffered.
|
|
1921
1923
|
*/
|
|
1922
|
-
readonly buffered:
|
|
1924
|
+
readonly buffered: TimeRanges_2;
|
|
1923
1925
|
/**
|
|
1924
1926
|
* The clip API.
|
|
1925
1927
|
*/
|
|
@@ -2020,7 +2022,7 @@ export declare class ChromelessPlayer implements EventDispatcher<PlayerEventMap>
|
|
|
2020
2022
|
/**
|
|
2021
2023
|
* Returns a TimeRanges object that represents the ranges of the media resource that the player has played.
|
|
2022
2024
|
*/
|
|
2023
|
-
played:
|
|
2025
|
+
played: TimeRanges_2;
|
|
2024
2026
|
/**
|
|
2025
2027
|
* The poster of the current source.
|
|
2026
2028
|
*
|
|
@@ -2051,7 +2053,7 @@ export declare class ChromelessPlayer implements EventDispatcher<PlayerEventMap>
|
|
|
2051
2053
|
* @remarks
|
|
2052
2054
|
* <br/> - On source change, seekable becomes available after {@link ChromelessPlayer.readyState} is at least `1`.
|
|
2053
2055
|
*/
|
|
2054
|
-
seekable:
|
|
2056
|
+
seekable: TimeRanges_2;
|
|
2055
2057
|
/**
|
|
2056
2058
|
* Whether the player is seeking.
|
|
2057
2059
|
*/
|
|
@@ -3141,7 +3143,7 @@ export declare interface DRMConfiguration {
|
|
|
3141
3143
|
[parameterName: string]: any;
|
|
3142
3144
|
};
|
|
3143
3145
|
/**
|
|
3144
|
-
* An ordered list of URNs of key systems as specified by https://dashif.org/identifiers/content_protection
|
|
3146
|
+
* An ordered list of URNs of key systems as specified by {@link https://dashif.org/identifiers/content_protection/}, or one of the following identifiers:
|
|
3145
3147
|
*
|
|
3146
3148
|
* `"widevine"` alias for `"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"`
|
|
3147
3149
|
* `"fairplay"` alias for `"urn:uuid:94ce86fb-07bb-4b43-adb8-93d2fa968ca2"`
|
|
@@ -5861,7 +5863,7 @@ export declare class MultiViewPlayer implements EventDispatcher<MultiViewPlayerE
|
|
|
5861
5863
|
/**
|
|
5862
5864
|
* Returns a TimeRanges object that represents the intersection of all buffered properties of the underlying players.
|
|
5863
5865
|
*/
|
|
5864
|
-
readonly buffered:
|
|
5866
|
+
readonly buffered: TimeRanges_2;
|
|
5865
5867
|
/**
|
|
5866
5868
|
* The current playback position of the player currently at position zero.
|
|
5867
5869
|
*/
|
|
@@ -5901,7 +5903,7 @@ export declare class MultiViewPlayer implements EventDispatcher<MultiViewPlayerE
|
|
|
5901
5903
|
/**
|
|
5902
5904
|
* Returns the intersection of all played properties of the underlying players.
|
|
5903
5905
|
*/
|
|
5904
|
-
readonly played:
|
|
5906
|
+
readonly played: TimeRanges_2;
|
|
5905
5907
|
/**
|
|
5906
5908
|
* Returns the minimum of all readyState properties of the underlying players.
|
|
5907
5909
|
*/
|
|
@@ -5909,7 +5911,7 @@ export declare class MultiViewPlayer implements EventDispatcher<MultiViewPlayerE
|
|
|
5909
5911
|
/**
|
|
5910
5912
|
* Returns the intersection of all seekable properties of the underlying players.
|
|
5911
5913
|
*/
|
|
5912
|
-
readonly seekable:
|
|
5914
|
+
readonly seekable: TimeRanges_2;
|
|
5913
5915
|
/**
|
|
5914
5916
|
* Whether any of the underlying players is seeking.
|
|
5915
5917
|
*/
|
|
@@ -6130,12 +6132,6 @@ export declare enum MultiViewPlayerLayout {
|
|
|
6130
6132
|
*/
|
|
6131
6133
|
export declare type MutedAutoplayConfiguration = 'none' | 'all' | 'content';
|
|
6132
6134
|
|
|
6133
|
-
declare interface NativeTimeRanges {
|
|
6134
|
-
readonly length: number;
|
|
6135
|
-
start(index: number): number;
|
|
6136
|
-
end(index: number): number;
|
|
6137
|
-
}
|
|
6138
|
-
|
|
6139
6135
|
/**
|
|
6140
6136
|
* The network API.
|
|
6141
6137
|
*
|
|
@@ -6680,7 +6676,7 @@ export declare interface PlayerEventMap {
|
|
|
6680
6676
|
*/
|
|
6681
6677
|
error: ErrorEvent_2;
|
|
6682
6678
|
/**
|
|
6683
|
-
* Fired when the
|
|
6679
|
+
* Fired when the player is destroyed.
|
|
6684
6680
|
*
|
|
6685
6681
|
* @remarks
|
|
6686
6682
|
* <br/> - Available since v2.33.3.
|
|
@@ -8739,6 +8735,32 @@ export declare interface ThumbnailResolution {
|
|
|
8739
8735
|
height?: number;
|
|
8740
8736
|
}
|
|
8741
8737
|
|
|
8738
|
+
/**
|
|
8739
|
+
* Represents one or more ranges of time, each specified by a start time and an end time.
|
|
8740
|
+
*
|
|
8741
|
+
* @remarks
|
|
8742
|
+
* This is equivalent to the {@link https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges | TimeRanges} interface used by an HTML video element.
|
|
8743
|
+
*
|
|
8744
|
+
* @public
|
|
8745
|
+
*/
|
|
8746
|
+
declare interface TimeRanges_2 {
|
|
8747
|
+
/** Returns the number of ranges in the object. */
|
|
8748
|
+
readonly length: number;
|
|
8749
|
+
/**
|
|
8750
|
+
* Returns the time for the start of the range with the given index.
|
|
8751
|
+
*
|
|
8752
|
+
* @throws Throws an Error if the index is out of bounds.
|
|
8753
|
+
*/
|
|
8754
|
+
start(index: number): number;
|
|
8755
|
+
/**
|
|
8756
|
+
* Returns the time for the end of the range with the given index.
|
|
8757
|
+
*
|
|
8758
|
+
* @throws Throws an Error if the index is out of bounds.
|
|
8759
|
+
*/
|
|
8760
|
+
end(index: number): number;
|
|
8761
|
+
}
|
|
8762
|
+
export { TimeRanges_2 as TimeRanges }
|
|
8763
|
+
|
|
8742
8764
|
/**
|
|
8743
8765
|
* Fired when the current playback position changed as part of normal playback or in an especially interesting way, for example discontinuously.
|
|
8744
8766
|
*
|
|
@@ -10520,7 +10542,7 @@ export declare interface VerizonMediaPreplayLiveResponse extends VerizonMediaPre
|
|
|
10520
10542
|
/**
|
|
10521
10543
|
* The response type of the request.
|
|
10522
10544
|
*/
|
|
10523
|
-
type:
|
|
10545
|
+
type: 'live';
|
|
10524
10546
|
}
|
|
10525
10547
|
|
|
10526
10548
|
/**
|
|
@@ -10549,10 +10571,7 @@ export declare interface VerizonMediaPreplayResponseEvent extends Event_2<'prepl
|
|
|
10549
10571
|
*
|
|
10550
10572
|
* @public
|
|
10551
10573
|
*/
|
|
10552
|
-
export declare
|
|
10553
|
-
VOD = "vod",
|
|
10554
|
-
LIVE = "live"
|
|
10555
|
-
}
|
|
10574
|
+
export declare type VerizonMediaPreplayResponseType = 'vod' | 'live';
|
|
10556
10575
|
|
|
10557
10576
|
/**
|
|
10558
10577
|
* Represents a Verizon Media Preplay response for VOD assets.
|
|
@@ -10563,7 +10582,7 @@ export declare interface VerizonMediaPreplayVodResponse extends VerizonMediaPrep
|
|
|
10563
10582
|
/**
|
|
10564
10583
|
* The response type of the request.
|
|
10565
10584
|
*/
|
|
10566
|
-
type:
|
|
10585
|
+
type: 'vod';
|
|
10567
10586
|
/**
|
|
10568
10587
|
* The advertisement information.
|
|
10569
10588
|
*/
|
|
@@ -11866,8 +11885,6 @@ export declare interface Yospace extends EventDispatcher<YospaceEventMap> {
|
|
|
11866
11885
|
/**
|
|
11867
11886
|
* The Yospace session.
|
|
11868
11887
|
*
|
|
11869
|
-
* @remarks
|
|
11870
|
-
* <br/> - For the full API of this object, see {@link http://demo.yospace.com/SDK/javascript/docs/classes/YSSession.html | YSSession Class - Yospace JavaScript AdManagement SDK} for more information and examples
|
|
11871
11888
|
*/
|
|
11872
11889
|
readonly session: object;
|
|
11873
11890
|
/**
|
|
@@ -11886,7 +11903,6 @@ export declare interface Yospace extends EventDispatcher<YospaceEventMap> {
|
|
|
11886
11903
|
*
|
|
11887
11904
|
* @remarks
|
|
11888
11905
|
* <br/> - These callbacks will be used by the Yospace SDK to provide feedback to the player.
|
|
11889
|
-
* <br/> - See {@link http://demo.yospace.com/SDK/javascript/docs/classes/YSSessionManager.html#method_registerPlayer | YSSessionManager Class - Yospace JavaScript AdManagement SDK} for more information and examples
|
|
11890
11906
|
*
|
|
11891
11907
|
* @public
|
|
11892
11908
|
*/
|