[Solved] How to start a video when clicking an image [closed]


You should do this with HTML.

<video controls poster="/images/the-image-to-show.png">
  <source src="https://stackoverflow.com/questions/35650099/movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>

This will do the job just fine. Remember, “controls” gives you the default video controls. Play/pause/sound etc

2

solved How to start a video when clicking an image [closed]