Hi
I use a function : updateytplayerInfo that gives me the time to be played of a Utube film (it counts down every second)
I want to close that window when the count down has reached 0
I know that functions lose his value outside the function.
PS the function is not self made!!
function updateytplayerInfo() {
updateHTML("SBvideotime02", getDuration()-getCurrentTime());
}
Resuming Time to be played : <span id="SBvideotime02"></span>
Simon, Netherlands


Reply With Quote
Bookmarks