@gcorevideo/player 2.24.8 → 2.24.10

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.
@@ -45336,12 +45336,14 @@ class CmcdConfig extends CorePlugin {
45336
45336
  case 'dash':
45337
45337
  $.extend(true, container.playback.options, {
45338
45338
  dash: {
45339
- cmcd: {
45340
- enabled: true,
45341
- enabledKeys: CMCD_KEYS,
45342
- sid: this.sid,
45343
- cid: this.cid,
45344
- },
45339
+ streaming: {
45340
+ cmcd: {
45341
+ enabled: true,
45342
+ enabledKeys: CMCD_KEYS,
45343
+ sid: this.sid,
45344
+ cid: this.cid,
45345
+ },
45346
+ }
45345
45347
  },
45346
45348
  });
45347
45349
  break;
@@ -50946,6 +50948,7 @@ var VolumeFadeEvents;
50946
50948
  * @packageDocumentation
50947
50949
  */
50948
50950
  Player.registerPlugin(AudioTracks);
50951
+ Player.registerPlugin(BigMuteButton);
50949
50952
  Player.registerPlugin(BottomGear);
50950
50953
  Player.registerPlugin(ClickToPause);
50951
50954
  Player.registerPlugin(CmcdConfig);
package/dist/index.js CHANGED
@@ -43303,7 +43303,7 @@ class Player {
43303
43303
  }
43304
43304
  }
43305
43305
 
43306
- var version$1 = "2.24.8";
43306
+ var version$1 = "2.24.10";
43307
43307
 
43308
43308
  var packages = {
43309
43309
  "node_modules/@clappr/core": {
@@ -45800,12 +45800,14 @@ class CmcdConfig extends CorePlugin {
45800
45800
  case 'dash':
45801
45801
  $.extend(true, container.playback.options, {
45802
45802
  dash: {
45803
- cmcd: {
45804
- enabled: true,
45805
- enabledKeys: CMCD_KEYS,
45806
- sid: this.sid,
45807
- cid: this.cid,
45808
- },
45803
+ streaming: {
45804
+ cmcd: {
45805
+ enabled: true,
45806
+ enabledKeys: CMCD_KEYS,
45807
+ sid: this.sid,
45808
+ cid: this.cid,
45809
+ },
45810
+ }
45809
45811
  },
45810
45812
  });
45811
45813
  break;
@@ -1 +1 @@
1
- {"version":3,"file":"index.embed.d.ts","sourceRoot":"","sources":["../src/index.embed.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,OAAO,EAAU,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AA8BzE,KAAK,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC,GAAG;IACtD,OAAO,EAAE,iBAAiB,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,QAelE"}
1
+ {"version":3,"file":"index.embed.d.ts","sourceRoot":"","sources":["../src/index.embed.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,OAAO,EAAU,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAgCzE,KAAK,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC,GAAG;IACtD,OAAO,EAAE,iBAAiB,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,QAelE"}
@@ -26,8 +26,9 @@
26
26
  * @packageDocumentation
27
27
  */
28
28
  import { Player } from './index.core.js';
29
- import { AudioTracks, BottomGear, MediaControl, ErrorScreen, SourceController, Subtitles, CmcdConfig, ClickToPause, DvrControls, PictureInPicture, PlaybackRate, Poster, Spinner, } from './index.plugins.js';
29
+ import { AudioTracks, BigMuteButton, BottomGear, MediaControl, ErrorScreen, SourceController, Subtitles, CmcdConfig, ClickToPause, DvrControls, PictureInPicture, PlaybackRate, Poster, Spinner, } from './index.plugins.js';
30
30
  Player.registerPlugin(AudioTracks);
31
+ Player.registerPlugin(BigMuteButton);
31
32
  Player.registerPlugin(BottomGear);
32
33
  Player.registerPlugin(ClickToPause);
33
34
  Player.registerPlugin(CmcdConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"CmcdConfig.d.ts","sourceRoot":"","sources":["../../../src/plugins/cmcd-config/CmcdConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,IAAI,EAAE,UAAU,EAAU,MAAM,cAAc,CAAA;AA4BrE;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAID;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,UAAW,SAAQ,UAAU;IACxC,OAAO,CAAC,GAAG,CAAQ;IAEnB,OAAO,CAAC,GAAG,CAAK;IAEhB;;OAEG;IACH,IAAI,IAAI,WAEP;IAED;;OAEG;IACH,IAAI,OAAO,WAEV;IAED;;OAEG;IACH,IAAI,gBAAgB,WAEnB;gBAEW,IAAI,EAAE,IAAI;IAMtB;;OAEG;IACM,UAAU;IAMnB;;;;OAIG;IACH,SAAS,IAAI;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;YAO3B,cAAc;IA8B5B,OAAO,CAAC,iBAAiB;CAK1B"}
1
+ {"version":3,"file":"CmcdConfig.d.ts","sourceRoot":"","sources":["../../../src/plugins/cmcd-config/CmcdConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,IAAI,EAAE,UAAU,EAAU,MAAM,cAAc,CAAA;AA4BrE;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAID;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,UAAW,SAAQ,UAAU;IACxC,OAAO,CAAC,GAAG,CAAQ;IAEnB,OAAO,CAAC,GAAG,CAAK;IAEhB;;OAEG;IACH,IAAI,IAAI,WAEP;IAED;;OAEG;IACH,IAAI,OAAO,WAEV;IAED;;OAEG;IACH,IAAI,gBAAgB,WAEnB;gBAEW,IAAI,EAAE,IAAI;IAMtB;;OAEG;IACM,UAAU;IAMnB;;;;OAIG;IACH,SAAS,IAAI;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;YAO3B,cAAc;IAgC5B,OAAO,CAAC,iBAAiB;CAK1B"}
@@ -90,12 +90,14 @@ export class CmcdConfig extends CorePlugin {
90
90
  case 'dash':
91
91
  $.extend(true, container.playback.options, {
92
92
  dash: {
93
- cmcd: {
94
- enabled: true,
95
- enabledKeys: CMCD_KEYS,
96
- sid: this.sid,
97
- cid: this.cid,
98
- },
93
+ streaming: {
94
+ cmcd: {
95
+ enabled: true,
96
+ enabledKeys: CMCD_KEYS,
97
+ sid: this.sid,
98
+ cid: this.cid,
99
+ },
100
+ }
99
101
  },
100
102
  });
101
103
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcorevideo/player",
3
- "version": "2.24.8",
3
+ "version": "2.24.10",
4
4
  "description": "Gcore JavaScript video player",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -28,6 +28,7 @@
28
28
  import { Player, PlayerMediaSource, PlayerConfig } from './index.core.js'
29
29
  import {
30
30
  AudioTracks,
31
+ BigMuteButton,
31
32
  BottomGear,
32
33
  MediaControl,
33
34
  ErrorScreen,
@@ -43,6 +44,7 @@ import {
43
44
  } from './index.plugins.js'
44
45
 
45
46
  Player.registerPlugin(AudioTracks)
47
+ Player.registerPlugin(BigMuteButton)
46
48
  Player.registerPlugin(BottomGear)
47
49
  Player.registerPlugin(ClickToPause)
48
50
  Player.registerPlugin(CmcdConfig)
@@ -121,12 +121,14 @@ export class CmcdConfig extends CorePlugin {
121
121
  case 'dash':
122
122
  $.extend(true, container.playback.options, {
123
123
  dash: {
124
- cmcd: {
125
- enabled: true,
126
- enabledKeys: CMCD_KEYS,
127
- sid: this.sid,
128
- cid: this.cid,
129
- },
124
+ streaming: {
125
+ cmcd: {
126
+ enabled: true,
127
+ enabledKeys: CMCD_KEYS,
128
+ sid: this.sid,
129
+ cid: this.cid,
130
+ },
131
+ }
130
132
  },
131
133
  })
132
134
  break
@@ -55,9 +55,11 @@ describe('CmcdConfig', () => {
55
55
  expect(core.containers[0].playback.options).toEqual(
56
56
  expect.objectContaining({
57
57
  dash: expect.objectContaining({
58
- cmcd: expect.objectContaining({
59
- enabled: true,
60
- enabledKeys: CMCD_KEYS,
58
+ streaming: expect.objectContaining({
59
+ cmcd: expect.objectContaining({
60
+ enabled: true,
61
+ enabledKeys: CMCD_KEYS,
62
+ }),
61
63
  }),
62
64
  }),
63
65
  }),
@@ -67,8 +69,10 @@ describe('CmcdConfig', () => {
67
69
  expect(core.containers[0].playback.options).toEqual(
68
70
  expect.objectContaining({
69
71
  dash: expect.objectContaining({
70
- cmcd: expect.objectContaining({
71
- sid: '123',
72
+ streaming: expect.objectContaining({
73
+ cmcd: expect.objectContaining({
74
+ sid: '123',
75
+ }),
72
76
  }),
73
77
  }),
74
78
  }),
@@ -78,8 +82,10 @@ describe('CmcdConfig', () => {
78
82
  expect(core.containers[0].playback.options).toEqual(
79
83
  expect.objectContaining({
80
84
  dash: expect.objectContaining({
81
- cmcd: expect.objectContaining({
82
- cid: '/123.mpd',
85
+ streaming: expect.objectContaining({
86
+ cmcd: expect.objectContaining({
87
+ cid: '/123.mpd',
88
+ }),
83
89
  }),
84
90
  }),
85
91
  }),
@@ -134,8 +140,10 @@ describe('CmcdConfig', () => {
134
140
  expect(core.containers[0].playback.options).toEqual(
135
141
  expect.objectContaining({
136
142
  dash: expect.objectContaining({
137
- cmcd: expect.objectContaining({
138
- cid: 'e287ea99b57c09b7a185aaaf36e075f2c0b346ce90aeced72976b1732678a8c6',
143
+ streaming: expect.objectContaining({
144
+ cmcd: expect.objectContaining({
145
+ cid: 'e287ea99b57c09b7a185aaaf36e075f2c0b346ce90aeced72976b1732678a8c6',
146
+ }),
139
147
  }),
140
148
  }),
141
149
  }),
@@ -163,8 +171,10 @@ describe('CmcdConfig', () => {
163
171
  expect(core.containers[0].playback.options).toEqual(
164
172
  expect.objectContaining({
165
173
  dash: expect.objectContaining({
166
- cmcd: expect.objectContaining({
167
- sid: '456',
174
+ streaming: expect.objectContaining({
175
+ cmcd: expect.objectContaining({
176
+ sid: '456',
177
+ }),
168
178
  }),
169
179
  }),
170
180
  }),