Posted on: 3/19/2015 10:07:27 AM | Views : 548

I have 2 divs - div1 contains a form and div2 contains a 20 second video .
When the webpage loads I  hide div2 (by id in code behind) and show div1 which contains a form.
When the user fills in the form and clicks send then div1 (the form) is hidden and div2 appears in its place (the video is played). What I would like to happen now after the video is played is for div1 to become visible and div2 to become hidden say after 20 seconds (video play time).
I've tried while loops, thread sleep, for next loops etc..  no joy.
So in summary:
1. load page and show div1 and hide div2. - works
2. After button click show div2 and hide div1. - works
3. After video finishes (say 20 seconds) show div1 and hide div2.  
 hope you can help me
thanks

Go to the complete details ...