Count seconds when video play in webview

I want to know how i can set a label count time of video play in webview. Like count time of vdeo in youtube

This is a pure Javascript question. You can easily get answer by google