From: Glen Stoole <[EMAIL PROTECTED]>
Subject: Re: Jumping to time in RM

If your clip is embedded in a web page then you can use the SetPosition()
function in the plugin.
ie:

<EMBED SRC="file.rpm" NAME="realplayer" WIDTH=320 HEIGHT=240
CONTROLS="ImageWindow" CONSOLE="lecture">

Then use Javacript:

document.realplayer.SetPosition(time);

Watch out though... SetPostion needs the time in milliseconds so you might
need a function to convert your times to ms values - also the player needs
to be running before you set position - you can use GetPlayState() which
returns the players state - 3 means that the player is running.

Hope that helps,
Glen


On Wed, 26 Jan 2000, RealForum wrote:

 > From: Liam Lawyer <[EMAIL PROTECTED]>
 > Subject: Jumping to time in RM
 >
 > Greetings all,
 >
 > Is it possible to jump to a time in a rm file without using .smil?  If so,
 > any examples?
 >
 > [ RF: rtsp://server/file.rm?start="5:30"&end="7:45" would play 2 minutes,
 > 15 seconds out of the clip.  Please see http://realforum.real.com as this
 > question has been asked recently. ]
 >
 > Liam Lawyer
 > Manager of Webcasting


*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites.  Archives of RealForum can
be found at http://realforum.real.com

If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:

    unsubscribe realforum

or from another account, besides the address you subscribed with:

    unsubscribe realforum <[EMAIL PROTECTED]>

Reply via email to