PDA

View Full Version : How to check if the video stop at final...



valym23
10-14-2009, 11:06 AM
How to check if the video stop after his endtime , to load and start automatically the next song? :wow

valym23
10-14-2009, 11:24 AM
or there is a posibility to run a procedure from another object?
For example, On Load page to call the click procedure of paragraph 1? Something like this...

longedge
10-15-2009, 06:42 AM
Two questions for the price of one :)

1. The video object has an "On Finsh" event. That is where you put the code you want to run when the video plays to an end.

2. If you want to use the same piece of code in different places, create a global function and just call that where/whenever you want the code to run.