You need to implement augmented reality to be played in the browser. I think it's better to implement with unity because the quality will be better, but maybe I'm wrong . I will leave an example of how this is done quite simply, but you need to make a small functionality. 1) when you click on the image, we need to start the video, but when you click on the video, pause and play will work. the frame as in the example is what I came to see.2) when we remove the camera focus from the image so that the video opens to full screen. Example what should be learned attached
[login to view URL]
link for download video example:
[login to view URL]