Is there any way to detect that a media (OBJECT or EMBED) is done playing? The specific action that I want to take is to go to another page; however, it would be ideal if I could take other different actions as well. I have seen an example of using a PARAM "flashvars" to to set a var named "endurl". First or all, I have not gotten that to work. Second, that would only work for Flash content.
I really need some way to know when a media element is done playing, whatever type it might be. The OBJECT and EMBED tags don't seem to have any event that can be trapped. Maybe there is some state that can be seen by a javascript observer? Any ideas are appreciated.