I am facing an issue with my DOM structure, where I have a video element within a container that is larger than the screen. In order to fit it onto the screen without changing its dimensions, I applied some scaling. However, I noticed that zooming out by applying CSS scaling causes the video controls to appear smaller than the video itself.
You can view the problem here: https://jsfiddle.net/mizmaar3/osjmocc5/2/if when loaded in Safari 11.x
<div id="video-container" style="width: 600px; height: 335px; position:relative; transform:scale(0.5); transform-origin:0% 0%">
<video src="https://iabtechlab.com/wp-content/uploads/2017/12/VAST-4.0-Short-Intro-low-resolution.mp4"
id="video" class="video" autoplay muted controls playsinline preload="auto"
style="width: 100%; height: auto">
</video>
</div>
I would appreciate any solutions or fixes to this issue. Thank you!