[theora] total newbie issue with Cortado player using new java 1.6.0_22

Mark Edwards mark_f_edwards at yahoo.com
Wed Oct 13 11:39:51 PDT 2010


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora/attachments/20101013/14548d85/attachment.htm 


More information about the theora mailing list