My website has tooltips enabled, but I am looking to hide the tooltip pop-ups that appear specifically over youtube video embeds. Upon inspecting the webpage, I found the code snippet below that is associated with youtube videos:
<div data-tippy-root id="tippy-8" style="pointer-events: none; z-index: 9999; visibility: visible; position: absolute; inset: auto auto 0px 0px; margin: 0px; transform: translate3d(712px, -688.8px, 0px);"> </div>
<div class="video">
<iframe width="700" height="524" id="youtube_iframe" src="LINK HERE" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen style="height: 446.897px;" aria-describedby="tippy-23">
</div>
I attempted to address this issue by applying some "fixes," however, the changing numbers in the "#tippy-" IDs make it challenging to consistently target and turn off the tooltips for youtube videos. Using selectors like "[data-tippy-root]" or "[id^=tippy]" removed all tooltips from the page entirely which is not my desired outcome. My goal is to specifically target tooltips displayed over youtube video embeds. How can I achieve this?
#tippy-9, #tippy-8 {
display: none !important;}
#data-tippy-root {
display: none !important;
visibility: none !important;}