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.
********************************************************


From: "Griffith, Richard" <[EMAIL PROTECTED]>
Subject: file:// urls do not autostart

The following html file will not autostart when using a file:// url.  It
will only start if the Play button is manually pressed on the control panel.
The pnm:// url works great.  I would appreciate any help.

<HEAD>
<meta name="GENERATOR" content="RealProducer G2">
<meta name="rnpagelayout" content="embedded">
<meta name="rnserverpath" content="D:\Virage\">
<meta name="rnmediafile" content="HeadlineNews1.rm">
<meta name="rnmetafile" content="HeadlineNews1.rpm">
<meta name="description" content="Add RealAudio and RealVideo to any web
site with RealProducer">
<meta name="keywords" content="RealAudio, RealVideo, RealProducer,
RealMedia, RealPlayer">
<TITLE>Test of Embedded Player</TITLE>

<SCRIPT>
function PlayVideoFromFile(){
         window.document.VideoImageWindow.SetAutoStart(true);

window.document.VideoImageWindow.SetSource("file://d:/virage/HeadlineNews1.r
m");
         window.document.VideoImageWindow.DoPlay();
}
function PlayVideoFromPNM(){
         window.document.VideoImageWindow.SetAutoStart(true);

window.document.VideoImageWindow.SetSource("pnm://realserver/HeadlineNews1.r
m");
         window.document.VideoImageWindow.SetPosition(10000);
         window.document.VideoImageWindow.DoPlay();
}
</SCRIPT>
</HEAD>

<BODY BGCOLOR="FFFFFF">
<CENTER>
<P>
<P>

<! HTML INSERT BEGIN /!>
<! RealPublisher
-- Comment Text Created By RealProducer Web Page Wizard - 9/24/99
-- Caution: Do not make changes to this comment section.  Any local file
references that appear here are automatically updated when uploaded to a
remote web server. Alterations to this section or any file references
listed below or contained in the associated RAM or RPM metafiles may cause
errors when publishing your web page to a remote server. These values should

not be altered.
-- pagelayout="embedded"
-- serverpath="D:\Virage\"
-- mediafile="HeadlineNews1.rm"
-- metafile="HeadlineNews1.rpm"

/!>
<H1>Test of Embedded Player</H1> <P> <OBJECT
ID=video1
CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
HEIGHT=112 WIDTH=160>
<PARAM NAME="controls" VALUE="ImageWindow">
<PARAM NAME="console" VALUE="Clip1">
<PARAM NAME="autostart" VALUE="false">
<PARAM NAME="src" VALUE="HeadlineNews1.rpm">
<EMBED SRC="empty.rpm" type="audio/x-pn-realaudio-plugin"
CONSOLE="Clip1" CONTROLS="ImageWindow"
NAME=VideoImageWindow
HEIGHT=112 WIDTH=160 AUTOSTART=true>
</OBJECT>
<P>
<OBJECT
ID=video1
CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
HEIGHT=125 WIDTH=275>
<PARAM NAME="controls" VALUE="All">
<PARAM NAME="console" VALUE="Clip1">
<EMBED type="audio/x-pn-realaudio-plugin"
CONSOLE="Clip1" CONTROLS="All"
HEIGHT=125 WIDTH=275 AUTOSTART=true>
</OBJECT>
<P>
<P>
<A HREF="http://www.real.com/products/tools/index.html?src=rprodsite"><IMG
SRC="file://D:/RealNetworks/ProducerPlus/rprod_on.gif" BORDER=0></A>
<! HTML INSERT END /!>

<P>
<HR>
<P>
<A HREF="javascript:PlayVideoFromFile()">PlayVideoFromFile:</A>
<P>
<A HREF="javascript:PlayVideoFromPNM()">PlayVideoFromPNM:</A>
<P>
<A HREF="http://www.real.com/products/player"><IMG
SRC="file://D:/RealNetworks/ProducerPlus/getfree.jpg" BORDER=0></A>
<P>
</CENTER>
</BODY>



Thanks,

Rich Griffith

*******************************************************
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