How do I know when the video end?

How do i now the video is ended on YouTube video player kodular extension to change the state of video seen or unseen.

I mean which function tell me the video is end.

Kodular’s default YouTube Player component has a VideoEnded event.
This event triggers automatically when the video finishes playing.

I did not get where it is!

I Got it thanks