cloudinary-video-player 2.3.5-edge.5 → 2.3.6-edge.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/dist/cld-video-player.js +7 -5
- package/dist/cld-video-player.light.js +7 -5
- 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/light/index.js +1 -1
- package/lib/player.js +1 -1
- package/lib/videoPlayer.js +1 -1
- package/package.json +1 -1
package/dist/cld-video-player.js
CHANGED
|
@@ -9388,7 +9388,7 @@ class CloudinaryAnalytics {
|
|
|
9388
9388
|
this.cloudinaryAnalytics.startManualTracking(metadata, {
|
|
9389
9389
|
...(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(this.analyticsOptions) ? this.analyticsOptions : {}),
|
|
9390
9390
|
videoPlayerType: 'cloudinary video player',
|
|
9391
|
-
videoPlayerVersion: "2.3.
|
|
9391
|
+
videoPlayerVersion: "2.3.6-edge.0"
|
|
9392
9392
|
});
|
|
9393
9393
|
} else if (this.currentVideMetadata.cloudName !== metadata.cloudName || this.currentVideMetadata.publicId !== metadata.publicId) {
|
|
9394
9394
|
this.cloudinaryAnalytics.stopManualTracking();
|
|
@@ -9761,7 +9761,7 @@ class CloudinaryContext {
|
|
|
9761
9761
|
options.sourceTypes = options.sourceTypes || _this.sourceTypes();
|
|
9762
9762
|
options.poster = options.poster || posterOptionsForCurrent();
|
|
9763
9763
|
options.queryParams = Object.assign(options.queryParams || {}, options.usageReport ? {
|
|
9764
|
-
_s: `vp-${"2.3.
|
|
9764
|
+
_s: `vp-${"2.3.6-edge.0"}`
|
|
9765
9765
|
} : {});
|
|
9766
9766
|
if (options.sourceTypes.indexOf('audio') > -1) {
|
|
9767
9767
|
builtSrc = new _models_audio_source_audio_source__WEBPACK_IMPORTED_MODULE_7__["default"](publicId, options);
|
|
@@ -10389,7 +10389,9 @@ class VideoSource extends _base_source__WEBPACK_IMPORTED_MODULE_7__["default"] {
|
|
|
10389
10389
|
this._rawTransformation = options.raw_transformation;
|
|
10390
10390
|
this.withCredentials = !!withCredentials;
|
|
10391
10391
|
this.getInitOptions = () => initOptions;
|
|
10392
|
-
this.poster(poster,
|
|
10392
|
+
this.poster(poster, {
|
|
10393
|
+
type: options.type
|
|
10394
|
+
});
|
|
10393
10395
|
this.sourceTypes(sourceTypes);
|
|
10394
10396
|
this.sourceTransformation(sourceTransformation);
|
|
10395
10397
|
this.info(info);
|
|
@@ -11016,7 +11018,7 @@ const contextMenuContent = player => {
|
|
|
11016
11018
|
const isFullscreen = player.isFullscreen();
|
|
11017
11019
|
const aboutMenuItem = {
|
|
11018
11020
|
class: 'player-version',
|
|
11019
|
-
label: 'Cloudinary Player v' + "2.3.
|
|
11021
|
+
label: 'Cloudinary Player v' + "2.3.6-edge.0"
|
|
11020
11022
|
};
|
|
11021
11023
|
if (!player.controls()) {
|
|
11022
11024
|
return [aboutMenuItem];
|
|
@@ -13770,7 +13772,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_9__["default"].mixin(_
|
|
|
13770
13772
|
const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_18__.getAnalyticsFromPlayerOptions)(options);
|
|
13771
13773
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
13772
13774
|
const baseParams = new URLSearchParams({
|
|
13773
|
-
vpVersion: "2.3.
|
|
13775
|
+
vpVersion: "2.3.6-edge.0",
|
|
13774
13776
|
vpInstanceId: this.getVPInstanceId(),
|
|
13775
13777
|
// #if (process.env.WEBPACK_BUILD_LIGHT)
|
|
13776
13778
|
// vpLightBuild: true,
|
|
@@ -1417,7 +1417,7 @@ class CloudinaryAnalytics {
|
|
|
1417
1417
|
this.cloudinaryAnalytics.startManualTracking(metadata, {
|
|
1418
1418
|
...(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(this.analyticsOptions) ? this.analyticsOptions : {}),
|
|
1419
1419
|
videoPlayerType: 'cloudinary video player',
|
|
1420
|
-
videoPlayerVersion: "2.3.
|
|
1420
|
+
videoPlayerVersion: "2.3.6-edge.0"
|
|
1421
1421
|
});
|
|
1422
1422
|
} else if (this.currentVideMetadata.cloudName !== metadata.cloudName || this.currentVideMetadata.publicId !== metadata.publicId) {
|
|
1423
1423
|
this.cloudinaryAnalytics.stopManualTracking();
|
|
@@ -1790,7 +1790,7 @@ class CloudinaryContext {
|
|
|
1790
1790
|
options.sourceTypes = options.sourceTypes || _this.sourceTypes();
|
|
1791
1791
|
options.poster = options.poster || posterOptionsForCurrent();
|
|
1792
1792
|
options.queryParams = Object.assign(options.queryParams || {}, options.usageReport ? {
|
|
1793
|
-
_s: `vp-${"2.3.
|
|
1793
|
+
_s: `vp-${"2.3.6-edge.0"}`
|
|
1794
1794
|
} : {});
|
|
1795
1795
|
if (options.sourceTypes.indexOf('audio') > -1) {
|
|
1796
1796
|
builtSrc = new _models_audio_source_audio_source__WEBPACK_IMPORTED_MODULE_7__["default"](publicId, options);
|
|
@@ -2418,7 +2418,9 @@ class VideoSource extends _base_source__WEBPACK_IMPORTED_MODULE_7__["default"] {
|
|
|
2418
2418
|
this._rawTransformation = options.raw_transformation;
|
|
2419
2419
|
this.withCredentials = !!withCredentials;
|
|
2420
2420
|
this.getInitOptions = () => initOptions;
|
|
2421
|
-
this.poster(poster,
|
|
2421
|
+
this.poster(poster, {
|
|
2422
|
+
type: options.type
|
|
2423
|
+
});
|
|
2422
2424
|
this.sourceTypes(sourceTypes);
|
|
2423
2425
|
this.sourceTransformation(sourceTransformation);
|
|
2424
2426
|
this.info(info);
|
|
@@ -3045,7 +3047,7 @@ const contextMenuContent = player => {
|
|
|
3045
3047
|
const isFullscreen = player.isFullscreen();
|
|
3046
3048
|
const aboutMenuItem = {
|
|
3047
3049
|
class: 'player-version',
|
|
3048
|
-
label: 'Cloudinary Player v' + "2.3.
|
|
3050
|
+
label: 'Cloudinary Player v' + "2.3.6-edge.0"
|
|
3049
3051
|
};
|
|
3050
3052
|
if (!player.controls()) {
|
|
3051
3053
|
return [aboutMenuItem];
|
|
@@ -5511,7 +5513,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_9__["default"].mixin(_
|
|
|
5511
5513
|
const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_18__.getAnalyticsFromPlayerOptions)(options);
|
|
5512
5514
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
5513
5515
|
const baseParams = new URLSearchParams({
|
|
5514
|
-
vpVersion: "2.3.
|
|
5516
|
+
vpVersion: "2.3.6-edge.0",
|
|
5515
5517
|
vpInstanceId: this.getVPInstanceId(),
|
|
5516
5518
|
// #if (process.env.WEBPACK_BUILD_LIGHT)
|
|
5517
5519
|
vpLightBuild: true,
|