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/index.js
CHANGED
|
@@ -5705,21 +5705,13 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
|
|
|
5705
5705
|
currentMuted = this.video.muted;
|
|
5706
5706
|
currentVolume = this.video.volume;
|
|
5707
5707
|
this.adPlayer.updateOriginalMutedState(currentMuted, currentVolume);
|
|
5708
|
-
if (!this.video.muted) {
|
|
5709
|
-
this.video.muted = true;
|
|
5710
|
-
if (this.config.debugAdTiming) {
|
|
5711
|
-
console.log("[StormcloudVideoPlayer] Muted video in handleAdStart");
|
|
5712
|
-
}
|
|
5713
|
-
}
|
|
5714
5708
|
this.inAdBreak = true;
|
|
5715
5709
|
this.currentAdBreakStartWallClockMs = Date.now();
|
|
5716
5710
|
this.adBreakPlayedDurationMs = 0;
|
|
5717
5711
|
this.currentAdIndex = 0;
|
|
5718
5712
|
this.totalAdsInBreak = 0;
|
|
5719
5713
|
this.adPodQueue = [];
|
|
5720
|
-
this.showAds =
|
|
5721
|
-
this.showPlaceholderLayer();
|
|
5722
|
-
this.adPlayer.showPlaceholder();
|
|
5714
|
+
this.showAds = false;
|
|
5723
5715
|
if (this.expectedAdBreakDurationMs == null && adBreakDurationMs != null) {
|
|
5724
5716
|
this.expectedAdBreakDurationMs = adBreakDurationMs;
|
|
5725
5717
|
}
|