Trying to inject styles in shadow-dom but element.shadowRoot is always null
SOLVED: Shadow Dom created by the browser cannot be altered.
I am trying to style the timeline of an audio player and need to inject a stylesheet into the shadow-dom to do this (::-webkit are not enough).
edit: Now this codepen
https://codepen.io/fluffybacon-steam/pen/dyENayJ
`
after the page is loaded, I go into the dev console and
player is defined but player-s is always undefined. Its driving me insane because I really don't want to have to make my own player when all I want to do is change some colors.
edit: restored original names
I am trying to style the timeline of an audio player and need to inject a stylesheet into the shadow-dom to do this (::-webkit are not enough).
edit: Now this codepen
https://codepen.io/fluffybacon-steam/pen/dyENayJ
`
after the page is loaded, I go into the dev console and
player is defined but player-s is always undefined. Its driving me insane because I really don't want to have to make my own player when all I want to do is change some colors.
edit: restored original names

