cloudinary-video-player 2.3.4-edge.6 → 2.3.4-edge.7

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.
@@ -545,21 +545,20 @@
545
545
  }
546
546
  }
547
547
  .cld-video-player .vjs-text-track-display {
548
- margin: auto;
549
- bottom: 0 !important;
550
- }
551
-
552
- .cld-video-player .vjs-text-track-display > div {
553
- margin: 3% !important;
548
+ bottom: 5em;
549
+ z-index: 2;
554
550
  }
555
551
 
556
552
  .cld-video-player .vjs-text-track-display.cld-paced-text-tracks b {
557
553
  color: var(--color-accent);
558
554
  }
559
555
 
556
+ .cld-video-player.vjs-controls-disabled .vjs-text-track-display, .cld-video-player.vjs-user-inactive.vjs-playing .vjs-text-track-display {
557
+ bottom: 1em;
558
+ }
559
+
560
560
  .cld-video-player .vjs-text-track-cue {
561
- top: auto !important;
562
- bottom: 3.4rem !important;
561
+ max-width: 100%;
563
562
  }
564
563
 
565
564
  .cld-video-player .vjs-text-track-cue > div {
@@ -568,10 +567,6 @@
568
567
  background-color: rgba(0, 0, 0, 0.5) !important;
569
568
  }
570
569
 
571
- .cld-video-player.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-text-track-cue {
572
- bottom: 1.5rem !important;
573
- }
574
-
575
570
  .cld-video-player .cld-paced-text-tracks .vjs-text-track-cue b {
576
571
  color: var(--color-accent);
577
572
  }
@@ -715,7 +710,7 @@
715
710
  visibility: visible;
716
711
  }
717
712
  .cld-video-player.vjs-error .vjs-error-display {
718
- background: #90A0B3;
713
+ background: #90a0b3;
719
714
  }
720
715
  .cld-video-player.vjs-error .vjs-error-display:before {
721
716
  display: none;
@@ -743,18 +738,28 @@
743
738
  visibility: hidden;
744
739
  opacity: 0;
745
740
  }
746
- .cld-video-player .vjs-progress-control.vjs-control::before, .cld-video-player .vjs-control-bar .vjs-control.vjs-progress-control-events-blocker::before {
741
+ .cld-video-player::before {
747
742
  content: "";
748
743
  pointer-events: none;
749
744
  position: absolute;
750
- bottom: 0;
745
+ bottom: 3em;
751
746
  left: 0;
752
747
  right: 0;
753
748
  width: 100%;
754
749
  height: 5rem;
755
- background: linear-gradient(to bottom, transparent 0%, currentColor 100%);
750
+ background: linear-gradient(to bottom, transparent 0%, var(--color-base) 100%);
756
751
  opacity: 0.4;
757
- z-index: 0;
752
+ z-index: 1;
753
+ font-size: 120%;
754
+ display: none;
755
+ }
756
+ .cld-video-player.vjs-audio-only-mode::before, .cld-video-player.vjs-has-started::before {
757
+ display: flex;
758
+ transition: opacity 0.1s;
759
+ }
760
+ .cld-video-player.vjs-has-started.vjs-user-inactive.vjs-playing::before {
761
+ opacity: 0;
762
+ transition: opacity 1s;
758
763
  }
759
764
  .cld-video-player .vjs-control {
760
765
  width: 2.5em;
@@ -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.4-edge.6"
9387
+ videoPlayerVersion: "2.3.4-edge.7"
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.4-edge.6"}`
9760
+ _s: `vp-${"2.3.4-edge.7"}`
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);
@@ -11012,7 +11012,7 @@ const contextMenuContent = player => {
11012
11012
  const isFullscreen = player.isFullscreen();
11013
11013
  const aboutMenuItem = {
11014
11014
  class: 'player-version',
11015
- label: 'Cloudinary Player v' + "2.3.4-edge.6"
11015
+ label: 'Cloudinary Player v' + "2.3.4-edge.7"
11016
11016
  };
11017
11017
  if (!player.controls()) {
11018
11018
  return [aboutMenuItem];
@@ -13778,7 +13778,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_9__["default"].mixin(_
13778
13778
  const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_18__.getAnalyticsFromPlayerOptions)(options);
13779
13779
  const analyticsParams = new URLSearchParams(analyticsData).toString();
13780
13780
  const baseParams = new URLSearchParams({
13781
- vpVersion: "2.3.4-edge.6",
13781
+ vpVersion: "2.3.4-edge.7",
13782
13782
  vpInstanceId: this.getVPInstanceId(),
13783
13783
  // #if (process.env.WEBPACK_BUILD_LIGHT)
13784
13784
  // vpLightBuild: true,
@@ -545,21 +545,20 @@
545
545
  }
546
546
  }
547
547
  .cld-video-player .vjs-text-track-display {
548
- margin: auto;
549
- bottom: 0 !important;
550
- }
551
-
552
- .cld-video-player .vjs-text-track-display > div {
553
- margin: 3% !important;
548
+ bottom: 5em;
549
+ z-index: 2;
554
550
  }
555
551
 
556
552
  .cld-video-player .vjs-text-track-display.cld-paced-text-tracks b {
557
553
  color: var(--color-accent);
558
554
  }
559
555
 
556
+ .cld-video-player.vjs-controls-disabled .vjs-text-track-display, .cld-video-player.vjs-user-inactive.vjs-playing .vjs-text-track-display {
557
+ bottom: 1em;
558
+ }
559
+
560
560
  .cld-video-player .vjs-text-track-cue {
561
- top: auto !important;
562
- bottom: 3.4rem !important;
561
+ max-width: 100%;
563
562
  }
564
563
 
565
564
  .cld-video-player .vjs-text-track-cue > div {
@@ -568,10 +567,6 @@
568
567
  background-color: rgba(0, 0, 0, 0.5) !important;
569
568
  }
570
569
 
571
- .cld-video-player.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-text-track-cue {
572
- bottom: 1.5rem !important;
573
- }
574
-
575
570
  .cld-video-player .cld-paced-text-tracks .vjs-text-track-cue b {
576
571
  color: var(--color-accent);
577
572
  }
@@ -715,7 +710,7 @@
715
710
  visibility: visible;
716
711
  }
717
712
  .cld-video-player.vjs-error .vjs-error-display {
718
- background: #90A0B3;
713
+ background: #90a0b3;
719
714
  }
720
715
  .cld-video-player.vjs-error .vjs-error-display:before {
721
716
  display: none;
@@ -743,18 +738,28 @@
743
738
  visibility: hidden;
744
739
  opacity: 0;
745
740
  }
746
- .cld-video-player .vjs-progress-control.vjs-control::before, .cld-video-player .vjs-control-bar .vjs-control.vjs-progress-control-events-blocker::before {
741
+ .cld-video-player::before {
747
742
  content: "";
748
743
  pointer-events: none;
749
744
  position: absolute;
750
- bottom: 0;
745
+ bottom: 3em;
751
746
  left: 0;
752
747
  right: 0;
753
748
  width: 100%;
754
749
  height: 5rem;
755
- background: linear-gradient(to bottom, transparent 0%, currentColor 100%);
750
+ background: linear-gradient(to bottom, transparent 0%, var(--color-base) 100%);
756
751
  opacity: 0.4;
757
- z-index: 0;
752
+ z-index: 1;
753
+ font-size: 120%;
754
+ display: none;
755
+ }
756
+ .cld-video-player.vjs-audio-only-mode::before, .cld-video-player.vjs-has-started::before {
757
+ display: flex;
758
+ transition: opacity 0.1s;
759
+ }
760
+ .cld-video-player.vjs-has-started.vjs-user-inactive.vjs-playing::before {
761
+ opacity: 0;
762
+ transition: opacity 1s;
758
763
  }
759
764
  .cld-video-player .vjs-control {
760
765
  width: 2.5em;
@@ -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.4-edge.6"
1416
+ videoPlayerVersion: "2.3.4-edge.7"
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.4-edge.6"}`
1789
+ _s: `vp-${"2.3.4-edge.7"}`
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);
@@ -3041,7 +3041,7 @@ const contextMenuContent = player => {
3041
3041
  const isFullscreen = player.isFullscreen();
3042
3042
  const aboutMenuItem = {
3043
3043
  class: 'player-version',
3044
- label: 'Cloudinary Player v' + "2.3.4-edge.6"
3044
+ label: 'Cloudinary Player v' + "2.3.4-edge.7"
3045
3045
  };
3046
3046
  if (!player.controls()) {
3047
3047
  return [aboutMenuItem];
@@ -5519,7 +5519,7 @@ class VideoPlayer extends _utils__WEBPACK_IMPORTED_MODULE_9__["default"].mixin(_
5519
5519
  const analyticsData = (0,_utils_get_analytics_player_options__WEBPACK_IMPORTED_MODULE_18__.getAnalyticsFromPlayerOptions)(options);
5520
5520
  const analyticsParams = new URLSearchParams(analyticsData).toString();
5521
5521
  const baseParams = new URLSearchParams({
5522
- vpVersion: "2.3.4-edge.6",
5522
+ vpVersion: "2.3.4-edge.7",
5523
5523
  vpInstanceId: this.getVPInstanceId(),
5524
5524
  // #if (process.env.WEBPACK_BUILD_LIGHT)
5525
5525
  vpLightBuild: true,