Skip to content

Commit

Permalink
fix(Ads): Fix initial ads configuration (#6176)
Browse files Browse the repository at this point in the history
Related to #6169
  • Loading branch information
avelad committed Jan 30, 2024
1 parent bbb1ebb commit 4b997a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/player.js
Expand Up @@ -715,6 +715,7 @@ shaka.Player = class extends shaka.util.FakeEventTarget {

if (shaka.Player.adManagerFactory_) {
this.adManager_ = shaka.Player.adManagerFactory_();
this.adManager_.configure(this.config_.ads);
}

// If the browser comes back online after being offline, then try to play
Expand Down

0 comments on commit 4b997a9

Please sign in to comment.