On Mon, 21 Jan 2008 01:08:16 +0100, Harry Underwood <[EMAIL PROTECTED]> wrote:
> 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 Cool demo, for those of you that don't like to view source, the solution is: begin="playbutton.click" end="stopbutton.click". Yes, I think that the video restarts from the beginning if you click stop and then start is what should happen since the video ends. If you want you can compare it to another svg animation that you do the same thing with begin/end on. There is a DOM method in SVGT12 for pausing a particular element though (see [1]), but that wasn't supported in the video-build of Opera unfortunately. > However, now I'm trying to add a progress-meter slider (allowing the > user to > slide between portions of the video) without scripting. You can add a declarative animation that is synchronized with the video. > 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. Since SVG is XML I guess there's nothing preventing you from doing that. The xforms spec has at least one or two svg examples IIRC. However Opera does not support XForms currently. > 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? Which progressbar? Pointer please? :) I think that SVGT12 has the necessary DOM methods for doing start, stop and pause. Additionally there are progress events that allow you to check loading progress. Furthermore there are the events for streaming video, handled by the Media Access Events spec[2], which is still in Working Draft status which means it may still change a bit. MAE and progressevents are not supported in the video-build though. Cheers /Erik [1] http://www.w3.org/TR/SVGMobile12/svgudom.html#svg__SVGTimedElement [2] http://www.w3.org/TR/MediaAccessEvents/ -- 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/

