videojs-hls-boomstream 1.2.63 → 1.2.64

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/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Changelog of ```videojs-hls-boomstream```
2
+ ## 1.2.64
3
+ FIX: Исправили и расширили работу аналитики
4
+
2
5
  ## 1.2.63
3
6
  FIX: Исправлена обработка ошибок у метода setSourceConfig
4
7
 
package/dist/typings.d.ts CHANGED
@@ -40,6 +40,8 @@ export interface BoomstreamHlsOptions {
40
40
  disableSkin: boolean; // Отключить стандартный внешний вид плеера (для собственных оберток)
41
41
  disableAutoLivecheck: boolean; // Автоотправка лайвчека для стримов
42
42
  disablePoster: boolean; // Отключить автоустановку постера (превью)
43
+ analyticKeyGoogle: string; // Ключ для гугл аналитики
44
+ analyticKeyYandex: string; // Ключ для яндекс аналитики
43
45
  }
44
46
 
45
47
  export type Poster = {
@@ -62,7 +64,18 @@ export enum VideoMimeTypesEnum {
62
64
  LIVE = 'live'
63
65
  }
64
66
 
65
- export type VideoMimeTypesList = `${VideoMimeTypesEnum}`;
67
+ export type VideoMimeTypesList =
68
+ 'application/x-mpegURL'
69
+ | 'application/vnd.apple.mpegurl'
70
+ | 'video/3gpp'
71
+ | 'video/3gpp2'
72
+ | 'video/3gp2'
73
+ | 'video/mpeg'
74
+ | 'video/mp4'
75
+ | 'video/ogg'
76
+ | 'video/quicktime'
77
+ | 'video/webm'
78
+ | 'live';
66
79
 
67
80
  export type BoomstreamLinks = {
68
81
  hls: string;
@@ -141,6 +154,8 @@ export type GlobalState = {
141
154
  isBmsUIUsed: boolean;
142
155
  offlineStreamErrorHandler: () => void;
143
156
  liveVodRequestSender: LiveVodRequestSenderInterface;
157
+ googleAnalyticPartnerKey: string;
158
+ yandexAnalyticPartnerKey: string;
144
159
  }
145
160
 
146
161
  export type VideoElementDimensions = {