I am able to pause and play the video onclick of the video itself. I want to be able to add a div in the video when the video is paused. Like a Play button. How do I do that ?
Do I need to add another div as an overlay and show it when the video is paused? If yes, how do I implement with the current code?
Working code for the video:
<video height="100%" width="100%" preload="none" onclick="this.paused ? this.play() : this.pause();">
<source type="video/mp4" src="myvideo.mp4">
</video>
Many thanks.