Accessing UIManager when replacing the built-in UI through location
ASpwalters opened this issue · comments
Is there a way to access the UIManager when using the location
in the configuration to supply the custom built js/css files? I have the need to make use of adding timeline markers dynamically, which appears to exist as a function of uiManager, but I don't know how to access the uiManager instance.
Thanks!
It should be on window.playerui.UIManager
.
We also use it like this in our index.html
:
bitmovin-player-ui/src/html/index.html
Line 257 in 8762349
This is defined in the gulpfile.js
in case you want to modify it:
bitmovin-player-ui/gulpfile.js
Lines 39 to 43 in 8762349
Hey @ASpwalters, did the comment above help you resolve your problem?