<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br>hello again -<br><br>it would appear that when the page first loads, whatever parameter that&nbsp; "url" is point to will play just fine:<br><pre id="line1">&lt;<span class="start-tag">param</span><span class="attribute-name"> name</span>=<span class="attribute-value">"url" </span><span class="attribute-name">value</span><span>='<a target="_blank" href="http://blah-blah-blah">http://blah-blah-blah</a>'</span><span class="attribute-value"></span></pre>
<br><br>however, the jScript option no longer seems to work (for me) using java-1.6.0_22<br><br><br>here is an example:<br><br><span><a target="_blank" href="http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/cortado.shtml">http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/cortado.shtml</a></span><br><br><br>code below:<br><br><br>&lt;script type="text/javascript" &gt;<br><br>function playSound1()&nbsp;&nbsp;&nbsp; {<br><span>&nbsp;&nbsp;&nbsp; url = '<a target="_blank" href="http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/01.ogg">http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/01.ogg</a>'&nbsp;&nbsp;&nbsp; ;</span><br>&nbsp;&nbsp;&nbsp; document.applets['javaPlayerApplet'].setParam('url', url );<br>&nbsp;&nbsp;&nbsp; document.applets['javaPlayerApplet'].restart();<br>&nbsp;&nbsp;&nbsp; document.applets['javaPlayerApplet'].doPlay();<br>}<br><br>function
 playSound8()&nbsp;&nbsp;&nbsp; {<br><span>&nbsp;&nbsp;&nbsp; url = '<a target="_blank" href="http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg">http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg</a>'&nbsp;&nbsp;&nbsp; ;</span><br>&nbsp;&nbsp;&nbsp; document.applets['javaPlayerApplet'].setParam('url', url );<br>&nbsp;&nbsp;&nbsp; document.applets['javaPlayerApplet'].restart();<br>&nbsp;&nbsp;&nbsp; document.applets['javaPlayerApplet'].doPlay();<br>}<br><br>&lt;/script&gt;<br><br><span><h1>pre-loading <a target="_blank" href="http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg">http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg</a></h1></span><br>&lt;applet code="com.fluendo.player.Cortado.class"<br>&nbsp;&nbsp;&nbsp; name='javaPlayerApplet'<br><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; archive="<a
 target="_blank" href="http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/cortado-ovtk-debug-0.6.0.jar">http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/cortado-ovtk-debug-0.6.0.jar</a>"</span><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; width="152" height="204"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name="autoPlay" value="0"&gt;<br><span>&nbsp;&nbsp;&nbsp; <param name="url" value="&lt;a target=" _blank="" href="http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg">http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg' /&gt;</span><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="framerate" value="29"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="keepAspect" value="true"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="video" value="true"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="audio"
 value="true"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="bufferSize" value="100"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="userId" value="user"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="password" value="test"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; applet stuff goes here<br>&nbsp;&nbsp;&nbsp; &lt;/applet&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;br /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;br /&gt;<br>&lt;a href='#' onClick='javascript:playSound1();'&gt;play one which was not preloaded&lt;/a&gt;<br>&nbsp;&nbsp;&nbsp; &lt;br /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;br /&gt;<br>&lt;a href='#' onClick='javascript:playSound8();'&gt;play eight which was preloaded&lt;/a&gt;<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">
</div></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif;
 font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">
</div>
</div></div></div>
</div></div></div>
</div></div></div>
</div></div></div>
</div></div></div>
</div></body></html>