You’re approaching this all backwards. You don’t start with the finished product and then try and make it work in different situations.
Instead, you create it with the HTML only first, making sure that the HTML all by itself works in different situations. Then when that HTML is working you add on the CSS to make it look better in a wide variety of situations.
Then, when all of that is working, that is when you start working on the JavaScript.
The usual process is to not use CSS to hide things by default, and to instead use JavaScript to hide things when the page loads. The usual best-practice technique is have the JavaScript add a classname to page elements.
So to get started, comment out all of the code that results in the links being hidden.
Your players are built with layers of positioned elements. Without the js setting the classes that control those layers you will get the stacked layers your seeing.
That’s why real web pages are not built with absolute positioning which is removed from the flow. They are built with blocks that stack in the normal flow of the document. That way everything works with js or css off.
Well, many of us have already posted all of those links before in your other threads. We can’t force you to read them, though we have strongly urged you to many times.
Positioning allows you to take elements out of the normal document layout flow, and make them behave differently, for example sitting on top of one another,
To build your player where it worked with js or css off you would first make sure it is not confined to your fixed width and height. All components of the player would either stack or sit beside each other. They would not be layered.
Javascript could add a class (that is already in the css) that sets absolute positioning on the layered elements.
Without js they would be position static and stack
Just the idea of redesigning it all from the very beginning, results in a lot of pain, and that is why people leave bad and rotting code as it is, without improvement.
If you had listened to the experts here from the very start you would not be faced with this pain now. Much of the time there isn’t the time or the money to fix things and redo them the correct way. Instead, it becomes a hard lesson learned, that you apply the next time that do a similar project.