On Wed, 02 Jan 2008 18:25:22 +0100, harry underwood <[EMAIL PROTECTED]> wrote:
> Hi, and Happy New Year. > > I was just trying to construct playback button(s) for a Theora video > embedded in SVG using JavaScript. However, trying to attach the symbols > (paths?) to the video as scripted control buttons is rather hard, as I'm > not closely familiar with JavaScript or how to attach it to SVG and > video appropriately. You probably want to use video.beginElement() (see reference here[1]) which means you should set the begin attribute on the video element to "indefinite". Then the video won't play until you start it. > Does anyone have any idea as to what I'm doing wrong and how to attach > the symbols to the JavaScript and attach the JavaScript to the video? Well, just open the error console (Tools > Advanced > Error console) and see the error messages. You have a bunch of elements which are not found because of incorrect id:s for example. And probably you want to fill your buttons or use pointer-events="all" in order to get any clicks there. Hope this helps /Erik [1] http://www.w3.org/TR/SVGMobile12/svgudom.html#smil__ElementTimeControl -- Erik Dahlstrom, Core Technology Developer, Opera Software http://my.opera.com/macdev_ed ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

