@mediakind/mkplayer 1.2.0 → 1.3.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/README.md
CHANGED
|
@@ -115,5 +115,4 @@ To destroy the player instance and release all held resources, you can call `des
|
|
|
115
115
|
player.destroy();
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
###
|
|
119
|
-
Check out our [API Reference](https://mkplayer.azureedge.net/$web/websdk/latest/docs/index.html) for more information on how to best use the SDK.
|
|
118
|
+
### For more details, please checkout our [API Reference](https://mkplayer.azureedge.net/%24web/websdk/latest/docs/index.html)
|
|
@@ -3,8 +3,11 @@ export interface MKAnalyticsConfig {
|
|
|
3
3
|
title?: string;
|
|
4
4
|
userId?: string;
|
|
5
5
|
videoId?: string;
|
|
6
|
-
cdnProvider?: string;
|
|
7
6
|
experimentName?: string;
|
|
7
|
+
isLive?: boolean;
|
|
8
|
+
player?: string;
|
|
9
|
+
playerKey?: string;
|
|
10
|
+
cdnProvider?: string;
|
|
8
11
|
customData1?: string;
|
|
9
12
|
customData2?: string;
|
|
10
13
|
customData3?: string;
|
|
@@ -5,6 +5,7 @@ import { MKBufferConfig } from "./MKBufferConfig";
|
|
|
5
5
|
import { MKPlaybackConfig } from "./MKPlaybackConfig";
|
|
6
6
|
import { MKAdaptationPlatformConfig } from "./MKAdaptationPlatformConfig";
|
|
7
7
|
import { MKPlayerEventConfig } from "./MKPlayerEventConfig";
|
|
8
|
+
import { MKAnalyticsConfig } from "./MKAnalyticsConfig";
|
|
8
9
|
export interface MKPlayerConfig {
|
|
9
10
|
key?: string;
|
|
10
11
|
ui?: boolean;
|
|
@@ -14,6 +15,7 @@ export interface MKPlayerConfig {
|
|
|
14
15
|
buffer?: MKBufferConfig;
|
|
15
16
|
playback?: MKPlaybackConfig;
|
|
16
17
|
events?: MKPlayerEventConfig;
|
|
18
|
+
analytics?: MKAnalyticsConfig | false;
|
|
17
19
|
adaptation?: MKAdaptationPlatformConfig;
|
|
18
20
|
enableHlsImageMediaPlaylistSupport?: boolean;
|
|
19
21
|
enableAdTrackingBeacons?: boolean;
|
|
@@ -22,11 +22,11 @@ export interface MKSourceConfig {
|
|
|
22
22
|
whep?: string;
|
|
23
23
|
ull?: MKUllSource;
|
|
24
24
|
registered?: MKRegisteredSource;
|
|
25
|
-
|
|
25
|
+
drm?: MKDrmConfig;
|
|
26
26
|
cdnOptions?: MKCdnOptions;
|
|
27
27
|
sourceOptions?: MKSourceOptions;
|
|
28
28
|
labeling?: MKSourceLabelingStreamTypeConfig;
|
|
29
|
-
|
|
29
|
+
analytics?: MKAnalyticsConfig;
|
|
30
30
|
subtitleTracks?: MKSubtitleTrack[];
|
|
31
31
|
thumbnailTrack?: MKThumbnailTrack;
|
|
32
32
|
}
|