Skip to content

Commit 755e9d2

Browse files
committed
fix(UI): Show presentation time when playing non-linear ads (#7707)
1 parent 64b861c commit 755e9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/presentation_time.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ shaka.ui.PresentationTimeTracker = class extends shaka.ui.Element {
5555

5656
this.eventManager.listen(
5757
this.adManager, shaka.ads.Utils.AD_STARTED, () => {
58-
shaka.ui.Utils.setDisplay(this.currentTime_, false);
58+
shaka.ui.Utils.setDisplay(this.currentTime_, !this.ad.isLinear());
5959
});
6060

6161
this.eventManager.listen(

0 commit comments

Comments
 (0)