I have a video playing on my page. I want to show and hide some div's when the video reaches a certain point. Lets say hide something on 10th second and show it again on 20th second.

I can easily do it in HTML5 with `video` tag and `currentTime` attribute but for IE I have to create the same functionality and I think with flash based videos (from YouTube or something like that).

Is there a way to detect the current time of a video playing on my website, embeded from YouTube, Metacafe or any other video sharing site?

I know I could detect it in flash and make it run some JavaScript function but I don't have flash nor have the skills to do it in AS3.

Is it possible to do it from JavaScript level or does any video sharing website out there provides this kind of functionality for their videos?