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.cjs
CHANGED
|
@@ -5916,21 +5916,13 @@ var StormcloudVideoPlayer = /*#__PURE__*/ function() {
|
|
|
5916
5916
|
currentMuted = this.video.muted;
|
|
5917
5917
|
currentVolume = this.video.volume;
|
|
5918
5918
|
this.adPlayer.updateOriginalMutedState(currentMuted, currentVolume);
|
|
5919
|
-
if (!this.video.muted) {
|
|
5920
|
-
this.video.muted = true;
|
|
5921
|
-
if (this.config.debugAdTiming) {
|
|
5922
|
-
console.log("[StormcloudVideoPlayer] Muted video in handleAdStart");
|
|
5923
|
-
}
|
|
5924
|
-
}
|
|
5925
5919
|
this.inAdBreak = true;
|
|
5926
5920
|
this.currentAdBreakStartWallClockMs = Date.now();
|
|
5927
5921
|
this.adBreakPlayedDurationMs = 0;
|
|
5928
5922
|
this.currentAdIndex = 0;
|
|
5929
5923
|
this.totalAdsInBreak = 0;
|
|
5930
5924
|
this.adPodQueue = [];
|
|
5931
|
-
this.showAds =
|
|
5932
|
-
this.showPlaceholderLayer();
|
|
5933
|
-
this.adPlayer.showPlaceholder();
|
|
5925
|
+
this.showAds = false;
|
|
5934
5926
|
if (this.expectedAdBreakDurationMs == null && adBreakDurationMs != null) {
|
|
5935
5927
|
this.expectedAdBreakDurationMs = adBreakDurationMs;
|
|
5936
5928
|
}
|