2
Contributors
6
Replies
7
Views
5 Years
Discussion Span
Last Post by vizz
0

is the video an HTML5 video tag or a flash object? If you are using the HTML5 standard video tag, then you can get at the duration of the video via the duration property in javascript, otherwise you may be able to get at the duration of a flash video using the swfobject.js library. You can write your own event to observe the duration of the video and then when it's the same as the final duration you would just trigger the overlay to close with close()

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.