cloudinary-video-player 4.1.4-edge.1 → 4.1.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/309.min.js +2 -2
- package/dist/526.min.js +3 -3
- package/dist/689.min.js +2 -2
- package/dist/801.min.js +3 -3
- package/dist/adaptive-streaming.js +2 -2
- package/dist/adaptive-streaming.min.js +2 -2
- package/dist/chapters.js +2 -2
- package/dist/chapters.min.js +2 -2
- package/dist/cld-player-core.js +8 -8
- package/dist/cld-player-core.min.js +3 -3
- package/dist/cld-poster-url.js +2 -2
- package/dist/cld-poster-url.min.js +2 -2
- package/dist/cld-video-player.css +2 -2
- package/dist/cld-video-player.js +8 -8
- package/dist/cld-video-player.light.js +8 -8
- package/dist/cld-video-player.light.min.js +3 -3
- package/dist/cld-video-player.min.css +2 -2
- package/dist/cld-video-player.min.js +3 -3
- package/dist/colors.js +2 -2
- package/dist/colors.min.js +2 -2
- package/dist/dash.js +2 -2
- package/dist/dash.min.js +2 -2
- package/dist/debug.js +2 -2
- package/dist/debug.min.js +2 -2
- package/dist/ima.js +2 -2
- package/dist/ima.min.js +2 -2
- package/dist/interaction-areas.js +2 -2
- package/dist/interaction-areas.min.js +2 -2
- package/dist/node_modules_lodash_throttle_js.js +2 -2
- package/dist/player-full.js +8 -8
- package/dist/player-full.min.js +3 -3
- package/dist/player.css +2 -2
- package/dist/player.js +2 -2
- package/dist/player.min.css +2 -2
- package/dist/player.min.js +2 -2
- package/dist/playlist.js +2 -2
- package/dist/playlist.min.js +2 -2
- package/dist/recommendations-overlay.js +2 -2
- package/dist/recommendations-overlay.min.js +2 -2
- package/dist/share.js +2 -2
- package/dist/share.min.js +2 -2
- package/dist/shoppable.js +2 -2
- package/dist/shoppable.min.js +2 -2
- package/dist/utils_fetch-config_js.js +2 -2
- package/dist/utils_schedule_js.js +2 -2
- package/lib/cld-video-player.min.css +2 -2
- package/lib/index2.js +18 -7
- package/lib/player.min.css +2 -2
- package/lib/video-player.js +6 -4
- package/package.json +1 -1
package/lib/video-player.js
CHANGED
|
@@ -561,7 +561,7 @@ class TitleBar extends Component {
|
|
|
561
561
|
const metadataUrl = appendQueryParams(`${urlPrefix}/_applet_/video_service/video_metadata/${deliveryType}/${utf8ToBase64(publicId)}.json`, source.queryParams());
|
|
562
562
|
fetch(metadataUrl, {
|
|
563
563
|
headers: {
|
|
564
|
-
'X-Cld-Video-Player-Version': "4.1.4
|
|
564
|
+
'X-Cld-Video-Player-Version': "4.1.4"
|
|
565
565
|
}
|
|
566
566
|
}).then(response => {
|
|
567
567
|
if (!response.ok) throw new Error(`HTTP ${response.status}`);
|
|
@@ -2906,7 +2906,9 @@ class CloudinaryContext {
|
|
|
2906
2906
|
// Inherit source transformation
|
|
2907
2907
|
const srcTx = options.transformation;
|
|
2908
2908
|
if (srcTx && !isEmpty(srcTx)) {
|
|
2909
|
-
const imageSafeTx = omitVideoOnlyTransformations(srcTx
|
|
2909
|
+
const imageSafeTx = omitVideoOnlyTransformations(srcTx, {
|
|
2910
|
+
keepAutoFormat: true
|
|
2911
|
+
});
|
|
2910
2912
|
const merged = mergeTransformations(posterOptions.transformation || {}, imageSafeTx);
|
|
2911
2913
|
// Remove height when aspect_ratio is set
|
|
2912
2914
|
if (merged.aspect_ratio) {
|
|
@@ -3211,7 +3213,7 @@ class CloudinaryAnalytics {
|
|
|
3211
3213
|
}, {
|
|
3212
3214
|
...(isPlainObject(this.analyticsOptions) ? this.analyticsOptions : {}),
|
|
3213
3215
|
videoPlayerType: 'cloudinary video player',
|
|
3214
|
-
videoPlayerVersion: "4.1.4
|
|
3216
|
+
videoPlayerVersion: "4.1.4"
|
|
3215
3217
|
});
|
|
3216
3218
|
} else if (this.currentVideoMetadata.cloudName !== metadata.cloudName || this.currentVideoMetadata.publicId !== metadata.publicId) {
|
|
3217
3219
|
this.cloudinaryAnalytics.stopManualTracking();
|
|
@@ -5185,7 +5187,7 @@ class VideoPlayer {
|
|
|
5185
5187
|
const analyticsData = getAnalyticsFromPlayerOptions(options);
|
|
5186
5188
|
const analyticsParams = new URLSearchParams(analyticsData).toString();
|
|
5187
5189
|
const baseParams = new URLSearchParams({
|
|
5188
|
-
vpVersion: "4.1.4
|
|
5190
|
+
vpVersion: "4.1.4",
|
|
5189
5191
|
vpInstanceId: this.getVPInstanceId(),
|
|
5190
5192
|
cloudName: options.cloudinary.cloud_name,
|
|
5191
5193
|
...internalAnalyticsMetadata
|