Dynamically hide elements

It would be great to dynamically remove elements like the track controls, and progress bar when a specific track plays. I want to implement ads that can’t be skipped