cloudinary-video-player 2.3.3-edge.3 → 2.3.3-edge.4
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.css +9 -6
- package/dist/cld-video-player.js +7 -12
- package/dist/cld-video-player.light.css +9 -6
- package/dist/cld-video-player.light.js +7 -12
- package/dist/cld-video-player.light.min.css +1 -1
- package/dist/cld-video-player.light.min.js +1 -1
- package/dist/cld-video-player.min.css +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/cld-video-player.min.css +4 -4
- package/lib/light/cld-video-player.light.min.css +4 -4
- package/lib/light/index.js +1 -1
- package/lib/player.js +1 -1
- package/lib/videoPlayer.js +1 -1
- package/package.json +1 -1
|
@@ -925,6 +925,9 @@
|
|
|
925
925
|
padding: clamp(1.3em, 4cqw, 2em);
|
|
926
926
|
pointer-events: none;
|
|
927
927
|
container-type: inline-size;
|
|
928
|
+
text-shadow: 0 0 0.5em var(--color-base);
|
|
929
|
+
color: var(--color-text);
|
|
930
|
+
background-image: linear-gradient(color-mix(in srgb, var(--color-base) 70%, transparent), transparent 100%);
|
|
928
931
|
}
|
|
929
932
|
.cld-video-player .vjs-title-bar .vjs-title-bar-title {
|
|
930
933
|
width: 100%;
|
|
@@ -1362,7 +1365,9 @@
|
|
|
1362
1365
|
transform: translateX(-50%);
|
|
1363
1366
|
bottom: 2.7em;
|
|
1364
1367
|
position: absolute;
|
|
1365
|
-
|
|
1368
|
+
padding: 0 0.3em;
|
|
1369
|
+
font-weight: bold;
|
|
1370
|
+
text-shadow: 0 0 8px var(--color-base), 0 0 1px var(--color-base), 0 0 1px var(--color-base);
|
|
1366
1371
|
}
|
|
1367
1372
|
.cld-video-player .vjs-chapter-display:not(:empty) ~ .vjs-vtt-thumbnail-display {
|
|
1368
1373
|
bottom: 4em;
|
|
@@ -1809,7 +1814,7 @@
|
|
|
1809
1814
|
box-sizing: border-box;
|
|
1810
1815
|
}
|
|
1811
1816
|
.cld-video-player-skin-dark .cld-plw-item-info-wrap {
|
|
1812
|
-
text-shadow:
|
|
1817
|
+
text-shadow: 0 0 1px var(--color-base);
|
|
1813
1818
|
}
|
|
1814
1819
|
@media only screen and (max-width: 768px) {
|
|
1815
1820
|
.cld-video-player-skin-dark .cld-plw-item-info-wrap {
|
|
@@ -1935,14 +1940,12 @@
|
|
|
1935
1940
|
bottom: 0;
|
|
1936
1941
|
left: 0;
|
|
1937
1942
|
background: linear-gradient(to top, var(--color-base), transparent 80%);
|
|
1938
|
-
opacity: 0.
|
|
1943
|
+
opacity: 0.9;
|
|
1939
1944
|
}
|
|
1940
1945
|
.cld-thumbnail.cld-plw-panel-item-active {
|
|
1941
1946
|
border: 1px solid var(--color-accent);
|
|
1942
1947
|
box-sizing: border-box;
|
|
1943
|
-
|
|
1944
|
-
.cld-thumbnail.cld-plw-panel-item-active .cld-plw-item-info-wrap {
|
|
1945
|
-
color: var(--color-accent);
|
|
1948
|
+
box-shadow: 0 0 3em -0.5em var(--color-accent) inset;
|
|
1946
1949
|
}
|
|
1947
1950
|
|
|
1948
1951
|
.cld-plw-panel-item:hover:after {
|
package/dist/cld-video-player.js
CHANGED
|
@@ -9384,7 +9384,7 @@ class CloudinaryAnalytics {
|
|
|
9384
9384
|
this.cloudinaryAnalytics.startManualTracking(metadata, {
|
|
9385
9385
|
...(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(this.analyticsOptions) ? this.analyticsOptions : {}),
|
|
9386
9386
|
videoPlayerType: 'cloudinary video player',
|
|
9387
|
-
videoPlayerVersion: "2.3.3-edge.
|
|
9387
|
+
videoPlayerVersion: "2.3.3-edge.4"
|
|
9388
9388
|
});
|
|
9389
9389
|
} else if (this.currentVideMetadata.cloudName !== metadata.cloudName || this.currentVideMetadata.publicId !== metadata.publicId) {
|
|
9390
9390
|
this.cloudinaryAnalytics.stopManualTracking();
|
|
@@ -9757,7 +9757,7 @@ class CloudinaryContext {
|
|
|
9757
9757
|
options.sourceTypes = options.sourceTypes || _this.sourceTypes();
|
|
9758
9758
|
options.poster = options.poster || posterOptionsForCurrent();
|
|
9759
9759
|
options.queryParams = Object.assign(options.queryParams || {}, options.usageReport ? {
|
|
9760
|
-
_s: `vp-${"2.3.3-edge.
|
|
9760
|
+
_s: `vp-${"2.3.3-edge.4"}`
|
|
9761
9761
|
} : {});
|
|
9762
9762
|
if (options.sourceTypes.indexOf('audio') > -1) {
|
|
9763
9763
|
builtSrc = new _models_audio_source_audio_source__WEBPACK_IMPORTED_MODULE_7__["default"](publicId, options);
|
|
@@ -10682,11 +10682,6 @@ const playerColors = `
|
|
|
10682
10682
|
color: rgba(--text-color, 0.3);
|
|
10683
10683
|
}
|
|
10684
10684
|
|
|
10685
|
-
.PLAYER-CLASS-PREFIX .vjs-title-bar {
|
|
10686
|
-
color: --text-color;
|
|
10687
|
-
background-image: linear-gradient(rgba(--base-color, 0.4), rgba(255, 255, 255, 0) 100%);
|
|
10688
|
-
}
|
|
10689
|
-
|
|
10690
10685
|
.PLAYER-CLASS-PREFIX .vjs-recommendations-overlay {
|
|
10691
10686
|
color: --text-color;
|
|
10692
10687
|
background-color: rgba(--base-color, 0.4);
|
|
@@ -11021,7 +11016,7 @@ const contextMenuContent = player => {
|
|
|
11021
11016
|
const isFullscreen = player.isFullscreen();
|
|
11022
11017
|
const aboutMenuItem = {
|
|
11023
11018
|
class: 'player-version',
|
|
11024
|
-
label: 'Cloudinary Player v' + "2.3.3-edge.
|
|
11019
|
+
label: 'Cloudinary Player v' + "2.3.3-edge.4"
|
|
11025
11020
|
};
|
|
11026
11021
|
if (!player.controls()) {
|
|
11027
11022
|
return [aboutMenuItem];
|
|
@@ -13749,7 +13744,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_9__["default"].mixin(_
|
|
|
13749
13744
|
const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_18__.getAnalyticsFromPlayerOptions)(options);
|
|
13750
13745
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
13751
13746
|
const baseParams = new URLSearchParams({
|
|
13752
|
-
vpVersion: "2.3.3-edge.
|
|
13747
|
+
vpVersion: "2.3.3-edge.4",
|
|
13753
13748
|
vpInstanceId: this.getVPInstanceId(),
|
|
13754
13749
|
// #if (process.env.WEBPACK_BUILD_LIGHT)
|
|
13755
13750
|
// vpLightBuild: true,
|
|
@@ -14458,9 +14453,9 @@ const extractOptions = (elem, options) => {
|
|
|
14458
14453
|
const overrideDefaultVideojsComponents = () => {
|
|
14459
14454
|
const Player = video_js__WEBPACK_IMPORTED_MODULE_0___default().getComponent('Player');
|
|
14460
14455
|
let children = Player.prototype.options_.children;
|
|
14461
|
-
|
|
14462
|
-
|
|
14463
|
-
|
|
14456
|
+
if (children.indexOf('titleBar') === -1) {
|
|
14457
|
+
children.push('titleBar');
|
|
14458
|
+
}
|
|
14464
14459
|
const ControlBar = video_js__WEBPACK_IMPORTED_MODULE_0___default().getComponent('ControlBar');
|
|
14465
14460
|
if (ControlBar) {
|
|
14466
14461
|
children = ControlBar.prototype.options_.children;
|
|
@@ -925,6 +925,9 @@
|
|
|
925
925
|
padding: clamp(1.3em, 4cqw, 2em);
|
|
926
926
|
pointer-events: none;
|
|
927
927
|
container-type: inline-size;
|
|
928
|
+
text-shadow: 0 0 0.5em var(--color-base);
|
|
929
|
+
color: var(--color-text);
|
|
930
|
+
background-image: linear-gradient(color-mix(in srgb, var(--color-base) 70%, transparent), transparent 100%);
|
|
928
931
|
}
|
|
929
932
|
.cld-video-player .vjs-title-bar .vjs-title-bar-title {
|
|
930
933
|
width: 100%;
|
|
@@ -1351,7 +1354,9 @@
|
|
|
1351
1354
|
transform: translateX(-50%);
|
|
1352
1355
|
bottom: 2.7em;
|
|
1353
1356
|
position: absolute;
|
|
1354
|
-
|
|
1357
|
+
padding: 0 0.3em;
|
|
1358
|
+
font-weight: bold;
|
|
1359
|
+
text-shadow: 0 0 8px var(--color-base), 0 0 1px var(--color-base), 0 0 1px var(--color-base);
|
|
1355
1360
|
}
|
|
1356
1361
|
.cld-video-player .vjs-chapter-display:not(:empty) ~ .vjs-vtt-thumbnail-display {
|
|
1357
1362
|
bottom: 4em;
|
|
@@ -1798,7 +1803,7 @@
|
|
|
1798
1803
|
box-sizing: border-box;
|
|
1799
1804
|
}
|
|
1800
1805
|
.cld-video-player-skin-dark .cld-plw-item-info-wrap {
|
|
1801
|
-
text-shadow:
|
|
1806
|
+
text-shadow: 0 0 1px var(--color-base);
|
|
1802
1807
|
}
|
|
1803
1808
|
@media only screen and (max-width: 768px) {
|
|
1804
1809
|
.cld-video-player-skin-dark .cld-plw-item-info-wrap {
|
|
@@ -1924,14 +1929,12 @@
|
|
|
1924
1929
|
bottom: 0;
|
|
1925
1930
|
left: 0;
|
|
1926
1931
|
background: linear-gradient(to top, var(--color-base), transparent 80%);
|
|
1927
|
-
opacity: 0.
|
|
1932
|
+
opacity: 0.9;
|
|
1928
1933
|
}
|
|
1929
1934
|
.cld-thumbnail.cld-plw-panel-item-active {
|
|
1930
1935
|
border: 1px solid var(--color-accent);
|
|
1931
1936
|
box-sizing: border-box;
|
|
1932
|
-
|
|
1933
|
-
.cld-thumbnail.cld-plw-panel-item-active .cld-plw-item-info-wrap {
|
|
1934
|
-
color: var(--color-accent);
|
|
1937
|
+
box-shadow: 0 0 3em -0.5em var(--color-accent) inset;
|
|
1935
1938
|
}
|
|
1936
1939
|
|
|
1937
1940
|
.cld-plw-panel-item:hover:after {
|
|
@@ -1413,7 +1413,7 @@ class CloudinaryAnalytics {
|
|
|
1413
1413
|
this.cloudinaryAnalytics.startManualTracking(metadata, {
|
|
1414
1414
|
...(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(this.analyticsOptions) ? this.analyticsOptions : {}),
|
|
1415
1415
|
videoPlayerType: 'cloudinary video player',
|
|
1416
|
-
videoPlayerVersion: "2.3.3-edge.
|
|
1416
|
+
videoPlayerVersion: "2.3.3-edge.4"
|
|
1417
1417
|
});
|
|
1418
1418
|
} else if (this.currentVideMetadata.cloudName !== metadata.cloudName || this.currentVideMetadata.publicId !== metadata.publicId) {
|
|
1419
1419
|
this.cloudinaryAnalytics.stopManualTracking();
|
|
@@ -1786,7 +1786,7 @@ class CloudinaryContext {
|
|
|
1786
1786
|
options.sourceTypes = options.sourceTypes || _this.sourceTypes();
|
|
1787
1787
|
options.poster = options.poster || posterOptionsForCurrent();
|
|
1788
1788
|
options.queryParams = Object.assign(options.queryParams || {}, options.usageReport ? {
|
|
1789
|
-
_s: `vp-${"2.3.3-edge.
|
|
1789
|
+
_s: `vp-${"2.3.3-edge.4"}`
|
|
1790
1790
|
} : {});
|
|
1791
1791
|
if (options.sourceTypes.indexOf('audio') > -1) {
|
|
1792
1792
|
builtSrc = new _models_audio_source_audio_source__WEBPACK_IMPORTED_MODULE_7__["default"](publicId, options);
|
|
@@ -2711,11 +2711,6 @@ const playerColors = `
|
|
|
2711
2711
|
color: rgba(--text-color, 0.3);
|
|
2712
2712
|
}
|
|
2713
2713
|
|
|
2714
|
-
.PLAYER-CLASS-PREFIX .vjs-title-bar {
|
|
2715
|
-
color: --text-color;
|
|
2716
|
-
background-image: linear-gradient(rgba(--base-color, 0.4), rgba(255, 255, 255, 0) 100%);
|
|
2717
|
-
}
|
|
2718
|
-
|
|
2719
2714
|
.PLAYER-CLASS-PREFIX .vjs-recommendations-overlay {
|
|
2720
2715
|
color: --text-color;
|
|
2721
2716
|
background-color: rgba(--base-color, 0.4);
|
|
@@ -3050,7 +3045,7 @@ const contextMenuContent = player => {
|
|
|
3050
3045
|
const isFullscreen = player.isFullscreen();
|
|
3051
3046
|
const aboutMenuItem = {
|
|
3052
3047
|
class: 'player-version',
|
|
3053
|
-
label: 'Cloudinary Player v' + "2.3.3-edge.
|
|
3048
|
+
label: 'Cloudinary Player v' + "2.3.3-edge.4"
|
|
3054
3049
|
};
|
|
3055
3050
|
if (!player.controls()) {
|
|
3056
3051
|
return [aboutMenuItem];
|
|
@@ -5490,7 +5485,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_9__["default"].mixin(_
|
|
|
5490
5485
|
const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_18__.getAnalyticsFromPlayerOptions)(options);
|
|
5491
5486
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
5492
5487
|
const baseParams = new URLSearchParams({
|
|
5493
|
-
vpVersion: "2.3.3-edge.
|
|
5488
|
+
vpVersion: "2.3.3-edge.4",
|
|
5494
5489
|
vpInstanceId: this.getVPInstanceId(),
|
|
5495
5490
|
// #if (process.env.WEBPACK_BUILD_LIGHT)
|
|
5496
5491
|
vpLightBuild: true,
|
|
@@ -6198,9 +6193,9 @@ const extractOptions = (elem, options) => {
|
|
|
6198
6193
|
const overrideDefaultVideojsComponents = () => {
|
|
6199
6194
|
const Player = video_js__WEBPACK_IMPORTED_MODULE_0___default().getComponent('Player');
|
|
6200
6195
|
let children = Player.prototype.options_.children;
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6196
|
+
if (children.indexOf('titleBar') === -1) {
|
|
6197
|
+
children.push('titleBar');
|
|
6198
|
+
}
|
|
6204
6199
|
const ControlBar = video_js__WEBPACK_IMPORTED_MODULE_0___default().getComponent('ControlBar');
|
|
6205
6200
|
if (ControlBar) {
|
|
6206
6201
|
children = ControlBar.prototype.options_.children;
|