Click to See Complete Forum and Search --> : javascript and media players


jwh_123
02-11-2003, 08:55 AM
Hi,

I'm trying to have a javascript token executed once a video clip being viewed in real, win media player, or quicktime is finished. I'm not sure how/whether players can interact with javascript. So the setup is: a user go to a web page where a clip autostarts in one of the three media player types (prior to this page, I will sniff for the players that are installed); the clip ends; then I need to send the token "Form" (code shown below), which simply submits an html web form. Any suggestions are much appreciated!!!

<script LANGUAGE="JavaScript">
function Send(Form)
{
document.form.submit();
}
</script>

Regards,
Jeff

khalidali63
02-11-2003, 11:07 AM
This link may help.

http://www.webreference.com/js/tips/000306.html

Cheers

Khalid