I'm trying to use javascript (no jquery) to find an element so I add an event listener to the click event. I can alter the CSS with no trouble:
document.styleSheets[0].insertRule('video::-webkit-media-controls-start-playback-button { display: block !important; }', 1)
How would I use document.getElementsByTagName()
or similar functions to fetch this dom element?