Need help with creating the control panel for my custom media player

The Grey control panel that will show the scroll, play and pause button is currently not showing up in my CSS/html.

Here is what I expect:

Here is what I get:

No control panel as you can see.

Here is the code I use to create the control panel:




Here is the link to my code:

Hello there.

I think this will be useful to you:

so you don’t think that the .moviecontainer div is necessary?

It is entirely up to what you are wanting to do with it. For the controls, it is not in the slightest bit related.

Have more of a go at developing it, and share the update, if you get stuck.

Of course. But if you were making a custom mp4 player, you wouldnt use the .moviecontainer div and just follow the documentation?

Which documentation are you referring to?

The documentation you linked me from w3school. Also the documentation from the developer.mozzilla site, the unofficial documentation page for javascript.

Again, it entirely depends on what you want to do. You could recreate the video player from that documentation. Or, you could just target some elements with CSS to change the styling.

With your code above, you will not get a video player, just by setting a div to have a class of moviecontainer.

With all of that documentation , you have plenty of info to get started.