I am using Video.js
to play videos in my web page.
I want to customize player controls to only play button.
my code is
If you also want to get rid of the play button, and just have the video play and stop on clicking, check out this alternative solution, which I adapted.
Insert into your (or elsewhere if not possible) ...
then call from your video, e.g.
Make sure that you do not set the controls in your video
tag. Obviously this way, you can fiddle in your own custom button, which the linked solution does.