-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve demopage #629
Improve demopage #629
Conversation
…in localStorage and reload on site load
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -256,6 +262,8 @@ <h4 class="card-title"> | |||
var uiManager; | |||
bitmovin.playerui.UIManager.setLocalizationConfig({ language: 'en', browserLanguageDetection: false }); | |||
|
|||
bitmovin.player.Player.addModule(bitmovin.player["advertising-bitmovin"].default); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the switch to the Bitmovin Ads module? The default is IMA, shouldn't the UI use the default player config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because with IMA there is no control over the UI as IMA provides the minimal ads UI which cannot officially (and must not) be customized. With BAM this is possible to use our UI, so that made more sense to me.
Thanks @felix-hoc! Classic case of testing it, then refactoring the code and introduce a bug by that 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, nice :)
I'm just thinking it would be good to a have an option to reset the local storage somehow, so it doesn't need to be done through the browser. Could be a follow-up PR though.
Description
Two small but hopefully useful improvements of the playground demo page:
Checklist (for PR submitter and reviewers)
CHANGELOG
entry