Re: total newbie issue with Cortado player using new java 1.6.0_22

Mark Edwards <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.general
Message-ID <[email protected]>
hello again -

it would appear that when the page first loads, whatever parameter that  "url" 
is point to will play just fine:

<param name="url" value='http://blah-blah-blah'

however, the jScript option no longer seems to work (for me) using java-1.6.0_22


here is an example:

http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/cortado.shtml



code below:


<script type="text/javascript" >

function playSound1()    {
    url = 
'http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/01.ogg'   
 ;
    document.applets['javaPlayerApplet'].setParam('url', url );
    document.applets['javaPlayerApplet'].restart();
    document.applets['javaPlayerApplet'].doPlay();
}

function playSound8()    {
    url = 
'http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg'   
 ;
    document.applets['javaPlayerApplet'].setParam('url', url );
    document.applets['javaPlayerApplet'].restart();
    document.applets['javaPlayerApplet'].doPlay();
}

</script>

pre-loading 
http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg

<applet code="com.fluendo.player.Cortado.class"
    name='javaPlayerApplet'
            
archive="http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/cortado-ovtk-debug-0.6.0.jar"

        width="152" height="204">
    <param name="autoPlay" value="0">
    
http://www.comptonpeslonline.com/compton-pesl-practice-program/tester/audio/08.ogg'
 />
      <param name="framerate" value="29"/>
      <param name="keepAspect" value="true"/>
      <param name="video" value="true"/>
      <param name="audio" value="true"/>
      <param name="bufferSize" value="100"/>
      <param name="userId" value="user"/>
      <param name="password" value="test"/>
      applet stuff goes here
    </applet>

    <br />
    <br />
<a href='#' onClick='javascript:playSound1();'>play one which was not 
preloaded</a>
    <br />
    <br />
<a href='#' onClick='javascript:playSound8();'>play eight which was 
preloaded</a>

_______________________________________________
theora mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.