cloudinary-video-player 2.0.0-edge.8 → 2.0.0-edge.9
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/dist/cld-video-player.js +5 -4
- package/dist/cld-video-player.light.js +5 -4
- package/dist/cld-video-player.light.min.js +1 -1
- package/dist/cld-video-player.min.js +1 -1
- package/lib/all.js +1 -1
- package/lib/cld-video-player.js +1 -1
- package/lib/videoPlayer.js +1 -1
- package/lib/videoPlayerWithProfile.js +1 -1
- package/package.json +3 -6
package/dist/cld-video-player.js
CHANGED
|
@@ -9480,7 +9480,7 @@ class CloudinaryAnalytics {
|
|
|
9480
9480
|
this.currentVideMetadata = metadata;
|
|
9481
9481
|
this.cloudinaryAnalytics.startManualTracking(metadata, {
|
|
9482
9482
|
videoPlayerType: 'cloudinary video player',
|
|
9483
|
-
videoPlayerVersion: "2.0.0-edge.
|
|
9483
|
+
videoPlayerVersion: "2.0.0-edge.9"
|
|
9484
9484
|
});
|
|
9485
9485
|
} else if (this.currentVideMetadata.cloudName !== metadata.cloudName || this.currentVideMetadata.publicId !== metadata.publicId) {
|
|
9486
9486
|
this.cloudinaryAnalytics.stopManualTracking();
|
|
@@ -9834,7 +9834,7 @@ class CloudinaryContext {
|
|
|
9834
9834
|
options.sourceTypes = options.sourceTypes || _this.sourceTypes();
|
|
9835
9835
|
options.poster = options.poster || posterOptionsForCurrent();
|
|
9836
9836
|
options.queryParams = Object.assign(options.queryParams || {}, options.usageReport ? {
|
|
9837
|
-
_s: "vp-".concat("2.0.0-edge.
|
|
9837
|
+
_s: "vp-".concat("2.0.0-edge.9")
|
|
9838
9838
|
} : {});
|
|
9839
9839
|
if (options.sourceTypes.indexOf('audio') > -1) {
|
|
9840
9840
|
builtSrc = new _models_audio_source_audio_source__WEBPACK_IMPORTED_MODULE_7__["default"](publicId, options);
|
|
@@ -10895,7 +10895,7 @@ const contextMenuContent = player => {
|
|
|
10895
10895
|
const isFullscreen = player.isFullscreen();
|
|
10896
10896
|
const aboutMenuItem = {
|
|
10897
10897
|
class: 'player-version',
|
|
10898
|
-
label: 'Cloudinary Player v' + "2.0.0-edge.
|
|
10898
|
+
label: 'Cloudinary Player v' + "2.0.0-edge.9"
|
|
10899
10899
|
};
|
|
10900
10900
|
if (!player.controls()) {
|
|
10901
10901
|
return [aboutMenuItem];
|
|
@@ -12954,6 +12954,7 @@ const getAnalyticsFromPlayerOptions = playerOptions => filterDefaultsAndNulls({
|
|
|
12954
12954
|
videoJS: hasConfig(playerOptions.videoJS),
|
|
12955
12955
|
width: playerOptions.width,
|
|
12956
12956
|
withCredentials: playerOptions.withCredentials,
|
|
12957
|
+
debug: playerOptions.debug,
|
|
12957
12958
|
colors: playerOptions.colors && JSON.stringify(playerOptions.colors),
|
|
12958
12959
|
controlBar: JSON.stringify(playerOptions.controlBar) !== JSON.stringify(config_defaults__WEBPACK_IMPORTED_MODULE_0__["default"].controlBar) && JSON.stringify(playerOptions.controlBar),
|
|
12959
12960
|
...getCloudinaryOptions(playerOptions.cloudinary),
|
|
@@ -13527,7 +13528,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_8__["default"].mixin(_
|
|
|
13527
13528
|
const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_17__.getAnalyticsFromPlayerOptions)(options);
|
|
13528
13529
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
13529
13530
|
const baseParams = new URLSearchParams({
|
|
13530
|
-
vpVersion: "2.0.0-edge.
|
|
13531
|
+
vpVersion: "2.0.0-edge.9",
|
|
13531
13532
|
vpInstanceId: this.getVPInstanceId(),
|
|
13532
13533
|
// #if (process.env.WEBPACK_BUILD_LIGHT)
|
|
13533
13534
|
// vpLightBuild: true,
|
|
@@ -1265,7 +1265,7 @@ class CloudinaryAnalytics {
|
|
|
1265
1265
|
this.currentVideMetadata = metadata;
|
|
1266
1266
|
this.cloudinaryAnalytics.startManualTracking(metadata, {
|
|
1267
1267
|
videoPlayerType: 'cloudinary video player',
|
|
1268
|
-
videoPlayerVersion: "2.0.0-edge.
|
|
1268
|
+
videoPlayerVersion: "2.0.0-edge.9"
|
|
1269
1269
|
});
|
|
1270
1270
|
} else if (this.currentVideMetadata.cloudName !== metadata.cloudName || this.currentVideMetadata.publicId !== metadata.publicId) {
|
|
1271
1271
|
this.cloudinaryAnalytics.stopManualTracking();
|
|
@@ -1619,7 +1619,7 @@ class CloudinaryContext {
|
|
|
1619
1619
|
options.sourceTypes = options.sourceTypes || _this.sourceTypes();
|
|
1620
1620
|
options.poster = options.poster || posterOptionsForCurrent();
|
|
1621
1621
|
options.queryParams = Object.assign(options.queryParams || {}, options.usageReport ? {
|
|
1622
|
-
_s: "vp-".concat("2.0.0-edge.
|
|
1622
|
+
_s: "vp-".concat("2.0.0-edge.9")
|
|
1623
1623
|
} : {});
|
|
1624
1624
|
if (options.sourceTypes.indexOf('audio') > -1) {
|
|
1625
1625
|
builtSrc = new _models_audio_source_audio_source__WEBPACK_IMPORTED_MODULE_7__["default"](publicId, options);
|
|
@@ -2680,7 +2680,7 @@ const contextMenuContent = player => {
|
|
|
2680
2680
|
const isFullscreen = player.isFullscreen();
|
|
2681
2681
|
const aboutMenuItem = {
|
|
2682
2682
|
class: 'player-version',
|
|
2683
|
-
label: 'Cloudinary Player v' + "2.0.0-edge.
|
|
2683
|
+
label: 'Cloudinary Player v' + "2.0.0-edge.9"
|
|
2684
2684
|
};
|
|
2685
2685
|
if (!player.controls()) {
|
|
2686
2686
|
return [aboutMenuItem];
|
|
@@ -4450,6 +4450,7 @@ const getAnalyticsFromPlayerOptions = playerOptions => filterDefaultsAndNulls({
|
|
|
4450
4450
|
videoJS: hasConfig(playerOptions.videoJS),
|
|
4451
4451
|
width: playerOptions.width,
|
|
4452
4452
|
withCredentials: playerOptions.withCredentials,
|
|
4453
|
+
debug: playerOptions.debug,
|
|
4453
4454
|
colors: playerOptions.colors && JSON.stringify(playerOptions.colors),
|
|
4454
4455
|
controlBar: JSON.stringify(playerOptions.controlBar) !== JSON.stringify(config_defaults__WEBPACK_IMPORTED_MODULE_0__["default"].controlBar) && JSON.stringify(playerOptions.controlBar),
|
|
4455
4456
|
...getCloudinaryOptions(playerOptions.cloudinary),
|
|
@@ -5022,7 +5023,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_8__["default"].mixin(_
|
|
|
5022
5023
|
const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_17__.getAnalyticsFromPlayerOptions)(options);
|
|
5023
5024
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
5024
5025
|
const baseParams = new URLSearchParams({
|
|
5025
|
-
vpVersion: "2.0.0-edge.
|
|
5026
|
+
vpVersion: "2.0.0-edge.9",
|
|
5026
5027
|
vpInstanceId: this.getVPInstanceId(),
|
|
5027
5028
|
// #if (process.env.WEBPACK_BUILD_LIGHT)
|
|
5028
5029
|
vpLightBuild: true,
|