stormcloud-video-player 0.8.12 → 0.8.13
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/stormcloud-vp.min.js +1 -1
- package/lib/index.cjs +1 -9
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +1 -9
- package/lib/index.js.map +1 -1
- package/lib/player/StormcloudVideoPlayer.cjs +1 -9
- package/lib/player/StormcloudVideoPlayer.cjs.map +1 -1
- package/lib/players/HlsPlayer.cjs +1 -9
- package/lib/players/HlsPlayer.cjs.map +1 -1
- package/lib/players/index.cjs +1 -9
- package/lib/players/index.cjs.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.cjs +1 -9
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/package.json +1 -1
package/lib/players/index.cjs
CHANGED
|
@@ -5721,21 +5721,13 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
|
|
|
5721
5721
|
currentMuted = this.video.muted;
|
|
5722
5722
|
currentVolume = this.video.volume;
|
|
5723
5723
|
this.adPlayer.updateOriginalMutedState(currentMuted, currentVolume);
|
|
5724
|
-
if (!this.video.muted) {
|
|
5725
|
-
this.video.muted = true;
|
|
5726
|
-
if (this.config.debugAdTiming) {
|
|
5727
|
-
console.log("[StormcloudVideoPlayer] Muted video in handleAdStart");
|
|
5728
|
-
}
|
|
5729
|
-
}
|
|
5730
5724
|
this.inAdBreak = true;
|
|
5731
5725
|
this.currentAdBreakStartWallClockMs = Date.now();
|
|
5732
5726
|
this.adBreakPlayedDurationMs = 0;
|
|
5733
5727
|
this.currentAdIndex = 0;
|
|
5734
5728
|
this.totalAdsInBreak = 0;
|
|
5735
5729
|
this.adPodQueue = [];
|
|
5736
|
-
this.showAds =
|
|
5737
|
-
this.showPlaceholderLayer();
|
|
5738
|
-
this.adPlayer.showPlaceholder();
|
|
5730
|
+
this.showAds = false;
|
|
5739
5731
|
if (this.expectedAdBreakDurationMs == null && adBreakDurationMs != null) {
|
|
5740
5732
|
this.expectedAdBreakDurationMs = adBreakDurationMs;
|
|
5741
5733
|
}
|