From: Steve McMillen <[EMAIL PROTECTED]>
Subject: Re: PlayList Object
Here is a sample that uses several differnt types of lists and the right
syntax for each. This is for all local playback renferences (using
absolute paths) but you can also modify this for other types of
referneces incluing remote URL playback).
----------------------------------------------------
<!--0 16.8 - 39.4 -->
<head>
<title>Table of Contents</title>
<script language=JavaScript>
function startClip(clipname) {
if (navigator.appName == 'Netscape') {
window.document.vid.DoStop();
window.document.vid.SetSource(clipname);
window.document.vid.DoPlayPause();
} else {
window.vid.DoStop()
window.vid.Source= clipname;
window.vid.DoPlayPause();
}
}
</script>
</head>
<body>
<center>
<OBJECT ID=vid HEIGHT=450 WIDTH=600
CLASSID=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA>
<PARAM NAME=controls VALUE=ImageWindow>
<embed type=audio/x-pn-realaudio-plugin width=600 height=450
controls=imagewindow name=vid>
</OBJECT>
<br>
<OBJECT ID=vid2 HEIGHT=30 WIDTH=420
CLASSID=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA>
<PARAM NAME=controls VALUE=controlpanel>
<PARAM NAME=console VALUE=_master>
<embed type=audio/x-pn-realaudio-plugin width=420 height=30
console=_master controls=controlpanel name=vid2>
</OBJECT>
<OBJECT ID=vid3 HEIGHT=30 WIDTH=180
CLASSID=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA>
<PARAM NAME=controls VALUE=positionfield>
<PARAM NAME=console VALUE=_master>
<embed type=audio/x-pn-realaudio-plugin width=180 height=30
console=_master controls=positionfield name=vid3>
</OBJECT>
<br>
<TABLE>
<TR>
<TD>
StartBefore: <form>
<select onchange="startClip(this.options[this.selectedIndex].value);">
<option selected>Pick a Section to Begin</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:0.0"'>Master
Slide-0:0:0:0.0</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:16.4"'>Slide
1-0:0:0:16.4</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:39.0"'>Slide
2-0:0:0:39.0</option>
</select>
</form>
</TD>
<TD>
StartOnTime: <form>
<select onchange="startClip(this.options[this.selectedIndex].value);">
<option selected>Pick a Section to Begin</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:0.0"'>Master
Slide-0:0:0:0.0</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:16.8"'>Slide
1-0:0:0:16.8</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:39.4"'>Slide
2-0:0:0:39.4</option>
</select>
</form>
</TD>
<TD>
StartAfter: <form>
<select onchange="startClip(this.options[this.selectedIndex].value);">
<option selected>Pick a Section to Begin</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:0.0"'>Master
Slide-0:0:0:0.0</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:17.2"'>Slide
1-0:0:0:17.2</option>
<option
value='file:c:/files/programs/tocforppt/sshow.rm?start="0:0:0:39.8"'>Slide
2-0:0:0:39.8</option>
</select>
</form>
</TD>
</TR>
<TR>
<TD>
<h4>StartBefore</h4>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:0.0\"')>Master
Slide-0:0:0:0.0</A><br>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:16.4\"')>Slide
1-0:0:0:16.4</A><br>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:39.0\"')>Slide
2-0:0:0:39.0</A><br>
</TD>
<TD>
<h4>StartOnTime</h4>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:0.0\"')>Master
Slide-0:0:0:0.0</A><br>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:16.8\"')>Slide
1-0:0:0:16.8</A><br>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:39.4\"')>Slide
2-0:0:0:39.4</A><br>
</TD>
<TD>
<h4>StartAfter</h4>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:0.0\"')>Master
Slide-0:0:0:0.0</A><br>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:17.2\"')>Slide
1-0:0:0:17.2</A><br>
<A
HREF=JavaScript:startClip('file:c:/files/programs/tocforppt/sshow.rm?start=\
"0:0:0:39.8\"')>Slide
2-0:0:0:39.8</A><br>
</TD>
</TR>
</TABLE>
</center>
</body>
-------------------------------------------------------
RealForum wrote:
>
> From: Amit Choksi <[EMAIL PROTECTED]>
> Subject: PlayList Object
>
> I am trying to get a playlist to show up in a web page. I have had no
> problems having most of the components of RealPlayer show up on the page
> using the ActiveX objects. For the playlist though, I cannot find anywhere
> on Real's site how to embed it as an ActiveX object. Can someone please show
> me how to do this, or show me a possible work around that will give me the
> same functionality as a drop down menu for switching between consecutive
> clips? Thanks in advance,
>
> Amit Choksi
>
*******************************************************
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]>