I've been exploring ways to incorporate an overlay play button onto an image, allowing me to click on it and play a video. My main concern is that most solutions require adding a distinct overlay play button directly to the source code.
However, what if I don't have the option to store a separate image on the server? Is there any way to achieve the same functionality using JavaScript alone? If so, could someone provide a sample code snippet?
I'm trying to avoid using a separate play image altogether, so I'm curious if there's another method I can try instead.