using the jScript function getPlayPosition() in Cortago
Mark Edwards <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.theora.general |
|---|---|
| Message-ID | <[email protected]> |
hello again all -
i seem to be a bit stuck on the proper use of getPlayPosition() inside of
jscript:
document.applets['cortado'].doPlay(); // works fine!
alert ( document.applets['cortago'].getPlayPosition() ) ; //
on my alert line, i get this error message:
Error: document.applets.javaPlayerApplet.getPlayPosition is not a function
does anybody have an example of getPlayPosition() in use?
when i read: http://git.xiph.org/?p=cortado.git;a=blob;f=README
300 The applet can be controlled with the following javascript methods:
302 doPlay(): Start playback
................
305 doSeek(double pos); seek to a new position, must be between 0.0 and 1.0.
306 getPlayPosition(): returns current position in seconds
it would appear the syntax using doPlay() and getPlayPosition() would be
identical.
thanks again, and sorry for the newbie questions,
mark
_______________________________________________
theora mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora