I'd like to know how I can create a youtube style button to play and pause on top of the video. I would like that when you do not click on it it will stop with the play and click on it it starts the video.
Code:
<video class="video" id="my-video" controls preload="auto" tabindex="0">
I already have the functionality of when I click on the video it starts loading. I really wanted to know how to put that youtube-style play icon.