I am working on a angular application and I am using video tag of html 5 in my code to play video. Code is as follows::
<video autoplay>
<source src="videos/video.mp4" type="video/mp4">
</video>
In this I just want my video to play once and on completion of video I want to route to next component. How can I do this?