@vindral/web-sdk 3.4.0 → 3.4.2
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/index.d.ts +13 -0
- package/index.js +1813 -1553
- package/index.umd.cjs +27 -5
- package/package.json +1 -1
- package/style.css +1 -1
package/index.d.ts
CHANGED
|
@@ -170,6 +170,10 @@ export interface Options {
|
|
|
170
170
|
* Note: Only needed when multiple languages are provided - if no language is specified, one will be automatically selected.
|
|
171
171
|
*/
|
|
172
172
|
language?: string;
|
|
173
|
+
/**
|
|
174
|
+
* TextTrack to use initially - can be changed during during runtime on the vindral instance
|
|
175
|
+
*/
|
|
176
|
+
textTrack?: string;
|
|
173
177
|
/**
|
|
174
178
|
* Sets the log level - defaults to info
|
|
175
179
|
*/
|
|
@@ -1354,8 +1358,17 @@ export declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1354
1358
|
* Set the current language
|
|
1355
1359
|
*/
|
|
1356
1360
|
set language(language: string | undefined);
|
|
1361
|
+
/**
|
|
1362
|
+
* Set the active text track
|
|
1363
|
+
*/
|
|
1357
1364
|
set textTrack(label: string | undefined);
|
|
1365
|
+
/**
|
|
1366
|
+
* Get the available text tracks
|
|
1367
|
+
*/
|
|
1358
1368
|
get textTracks(): string[];
|
|
1369
|
+
/**
|
|
1370
|
+
* Get the active text track
|
|
1371
|
+
*/
|
|
1359
1372
|
get textTrack(): string | undefined;
|
|
1360
1373
|
/**
|
|
1361
1374
|
* The current channelId
|