cloudinary-video-player 2.0.0-edge.7 → 2.0.0-edge.8
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 +6 -6
- package/dist/cld-video-player.light.js +6 -6
- package/dist/cld-video-player.light.min.js +1 -1
- package/dist/cld-video-player.min.js +1 -1
- package/dist/{validators.js → debug.js} +2 -2
- package/dist/{validators.light.js → debug.light.js} +2 -2
- package/dist/debug.light.min.js +2 -0
- package/dist/debug.min.js +2 -0
- package/lib/all.js +1 -1
- package/lib/cld-video-player.js +1 -1
- package/lib/debug.js +2 -0
- package/lib/videoPlayer.js +1 -1
- package/lib/videoPlayerWithProfile.js +1 -1
- package/package.json +1 -1
- package/dist/validators.light.min.js +0 -2
- package/dist/validators.min.js +0 -2
- package/lib/validators.js +0 -2
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.8"
|
|
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.8")
|
|
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.8"
|
|
10899
10899
|
};
|
|
10900
10900
|
if (!player.controls()) {
|
|
10901
10901
|
return [aboutMenuItem];
|
|
@@ -13256,7 +13256,7 @@ const isValidConfig = (config, validators) => {
|
|
|
13256
13256
|
* @returns boolean - true is the configuration object is valid and false if it is not
|
|
13257
13257
|
*/
|
|
13258
13258
|
const isValidPlayerConfig = async config => {
|
|
13259
|
-
return __webpack_require__.e(/*! import() |
|
|
13259
|
+
return __webpack_require__.e(/*! import() | debug */ "debug").then(__webpack_require__.bind(__webpack_require__, /*! ./validators */ "./validators/validators.js")).then(_ref => {
|
|
13260
13260
|
let {
|
|
13261
13261
|
playerValidators
|
|
13262
13262
|
} = _ref;
|
|
@@ -13270,7 +13270,7 @@ const isValidPlayerConfig = async config => {
|
|
|
13270
13270
|
* @returns boolean - true is the configuration object is valid and false if it is not
|
|
13271
13271
|
*/
|
|
13272
13272
|
const isValidSourceConfig = config => {
|
|
13273
|
-
return __webpack_require__.e(/*! import() |
|
|
13273
|
+
return __webpack_require__.e(/*! import() | debug */ "debug").then(__webpack_require__.bind(__webpack_require__, /*! ./validators */ "./validators/validators.js")).then(_ref2 => {
|
|
13274
13274
|
let {
|
|
13275
13275
|
sourceValidators
|
|
13276
13276
|
} = _ref2;
|
|
@@ -13527,7 +13527,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_8__["default"].mixin(_
|
|
|
13527
13527
|
const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_17__.getAnalyticsFromPlayerOptions)(options);
|
|
13528
13528
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
13529
13529
|
const baseParams = new URLSearchParams({
|
|
13530
|
-
vpVersion: "2.0.0-edge.
|
|
13530
|
+
vpVersion: "2.0.0-edge.8",
|
|
13531
13531
|
vpInstanceId: this.getVPInstanceId(),
|
|
13532
13532
|
// #if (process.env.WEBPACK_BUILD_LIGHT)
|
|
13533
13533
|
// 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.8"
|
|
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.8")
|
|
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.8"
|
|
2684
2684
|
};
|
|
2685
2685
|
if (!player.controls()) {
|
|
2686
2686
|
return [aboutMenuItem];
|
|
@@ -4752,7 +4752,7 @@ const isValidConfig = (config, validators) => {
|
|
|
4752
4752
|
* @returns boolean - true is the configuration object is valid and false if it is not
|
|
4753
4753
|
*/
|
|
4754
4754
|
const isValidPlayerConfig = async config => {
|
|
4755
|
-
return __webpack_require__.e(/*! import() |
|
|
4755
|
+
return __webpack_require__.e(/*! import() | debug */ "debug").then(__webpack_require__.bind(__webpack_require__, /*! ./validators */ "./validators/validators.js")).then(_ref => {
|
|
4756
4756
|
let {
|
|
4757
4757
|
playerValidators
|
|
4758
4758
|
} = _ref;
|
|
@@ -4766,7 +4766,7 @@ const isValidPlayerConfig = async config => {
|
|
|
4766
4766
|
* @returns boolean - true is the configuration object is valid and false if it is not
|
|
4767
4767
|
*/
|
|
4768
4768
|
const isValidSourceConfig = config => {
|
|
4769
|
-
return __webpack_require__.e(/*! import() |
|
|
4769
|
+
return __webpack_require__.e(/*! import() | debug */ "debug").then(__webpack_require__.bind(__webpack_require__, /*! ./validators */ "./validators/validators.js")).then(_ref2 => {
|
|
4770
4770
|
let {
|
|
4771
4771
|
sourceValidators
|
|
4772
4772
|
} = _ref2;
|
|
@@ -5022,7 +5022,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_8__["default"].mixin(_
|
|
|
5022
5022
|
const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_17__.getAnalyticsFromPlayerOptions)(options);
|
|
5023
5023
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
5024
5024
|
const baseParams = new URLSearchParams({
|
|
5025
|
-
vpVersion: "2.0.0-edge.
|
|
5025
|
+
vpVersion: "2.0.0-edge.8",
|
|
5026
5026
|
vpInstanceId: this.getVPInstanceId(),
|
|
5027
5027
|
// #if (process.env.WEBPACK_BUILD_LIGHT)
|
|
5028
5028
|
vpLightBuild: true,
|