Date: Thu, 26 Aug 1999 16:55:42 -0400 
From: [EMAIL PROTECTED] (Damon Betlow) 
Subject: Embedded player with Java controls 
To: [EMAIL PROTECTED] 

Hello all,
I'm trying to use the seek command on an embedded player to make a Table 
of Contents for a smil file.
Here is my code: 
<INPUT TYPE=BUTTON VALUE="Play" ONCLICK="document.javademo.DoPlay()"> 
<INPUT TYPE=BUTTON VALUE="Pause" ONCLICK="document.javademo.DoPause()"> 
<INPUT TYPE=BUTTON VALUE="Stop" ONCLICK="document.javademo.DoStop()"> 
<INPUT TYPE=BUTTON VALUE="Seek (200)" 
ONCLICK="document.javademo.SetPosition(200000)">
The seek only works if the player is playing. How do I make it seek to a 
position even if the player is stopped?
I tried the obvious: 
<INPUT TYPE=BUTTON VALUE="Play" 
ONCLICK="document.javademo.DoPlay();document.javademo.SetPosition(200000)">
No go. 
Also, I can't seem to have the java controls and the normal embedded 
controls working on the same page. How do I do that?
Ideally, I want a pull-down TOC that seeks to its position in the SMIL 
file.
Any help is appreciated.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><> 
Damon E. Betlow 
Rochester Institute of Technology 
Learning Technology Group 
(716) 475-5922 Phone 
(716) 475-5077 Fax 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><>

Reply via email to