Closed pgib closed 4 years ago
You don`t need to set style for the injected element. You can set the attribute overflow: hidden
for the container, so that the inner will not overflow the container.
Are there any scenarios where you need to customize the injected elements` style?
Describe the bug
Using the
play()
method on a VideoTrack will inject a<div>
container inside the HTMLElement that it's provided, but it's hard to style because there's no opportunity to provide aclass
attribute. Can this be added to theVideoPlayerConfig
so that developers can provide a class name to use with the<div>
instead of having to create awkward styles to try to target this<div>
? Perhaps also being able to turn off the injectedstyle
attributes would be good, too.Platform and Browser: All
SDK Version: v4.1.0 build: v4.1.0-0-g64d4440(9/4/2020, 5:57:23 PM)