Remove div when video finishes
|
|
Is it possible to remove the div when the video ends so that you can click on those balloons with related videos? |
|
|
Yeah. Good idea. I'll run an interval of .25 seconds to check if the video is done. Look for ver 1.0.3.
|
|
|
But it works fine for me? Thanks! The only thing that seems to have stopped working is the loop function in Avindra's script. Doesn't matter, though. If I loop a video it's usually a music video and I don't use the pause function at all, so I can just disable this script momentarily then. Thanks again. |
|
|
Ah, it removes the div if the video ends and I skim back through the video or reply it. What if you added a flag that is set to true when the playerstate gets set to 0 and then if the flag is true check in intervals whether the playerstate changes to 1 and re-add the div if it does? |
|
|
Yeah was thinking of that too.. I'll try to add that. |
|
|
So, did you have any luck or time to try it yet? |
|
|
Haven't tried yet, sorry. Just finished a script to save & paste multiple forms. Will look at that soon. |
|
|
Alright, thanks. :) |