Hi, thanks for the reply. Actually, I recently decided to rewrite some of the file and took advantage of one of SVG's media attributes to create both a play and stop button, although I wasn't able to create a pause button. You can see it here (press play for the video to run; pressing play after pressing stop will cause the video to restart): http://raynenamibia.googlepages.com/video-reflect2.svg
However, now I'm trying to add a progress-meter slider (allowing the user to slide between portions of the video) without scripting. Since SVG is compatible with other XML standards (including SMIL?), I'm wondering if there's some XForms stuff in the current SVG spec to allow for adding a progress slider widget into the file. However, if there are no such native resources in Opera's implementation of SVG, then what scripting will be needed for the creation of something similar to Apple.com's AJAX-based progressbar? Thanks, Harry Underwood On Jan 8, 2008 5:39 AM, Erik Dahlström <[EMAIL PROTECTED]> wrote: > 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 > > > > [Non-text portions of this message have been removed] ----- 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/

