Animated Play Viewer/Editor

From Ultipedia

Jump to: navigation, search

Update Anywikidraw is a wiki extension that should meet the needs of Ultipedia quite nicely.

After having perusing the reporting tools for Ultipedia, I came across a very interesting stat - 98% of visitors to ultipedia have Java enabled.. being able to use java to create this tool makes things much much easier.. woot.

(For now this entry is public ramblings / scratch pad of Ivar unless otherwise signed...)

Having a tool be tricked out for viewing / editing ultimate plays & strategies would make this site rock beyond imagination, well.. it'd make it cooler at least :)


Sticking with standards and text-based markup, it'd make sense to use SMIL and SVG.. especially since there are already some decent libraries that support these standards. Also, using markup based formats correlates nicely to the technical foundations of wikis. SMIL is natively supported in Opera. SVG is available natively in Firefox 1.5+ and Opera, and Adobe makes a plugin for other browsers.

Holy crap would it be a lot of work to get support for inline SVG working. There are tons of issues, with one of the major ones being that mediawiki doesn't serve up valid xhtml (a minimum requirement for SVG) because Microsoft Internet Exploder doesn't support xhtml. Conceivably we could forsake a browser that commands 80% of the market in exchange for a really cool feature, but... Ivar 14:53, 13 August 2006 (MDT)

Ok, not so bad.. the Dojo Toolkit pre-alpha gfx package handles all kinds of html types. It looks to be super sweet. Off to go poke around in the recently landed svn code. Ivar 00:43, 20 August 2006 (MDT)


links of note :

  • SVG resources - http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
  • SVG support in mediawiki - http://meta.wikimedia.org/wiki/Talk:SVG_image_support
  • SVG animation with JavaScript - http://srufaculty.sru.edu/david.dailey/svg/SVGAnimations.htm
  • SMIL in JavaScript - http://www.vectoreal.com/smilscript/
  • xdraw - ajax SVG editor showing alpha DOJO toolkit extensions. (nice!) http://xdraw.org
    • this seems like the way to go.
  • XHTML in mediawiki - http://meta.wikimedia.org/wiki/XHTML


possible technologies

  • AJAX
  • Macromedia Flash
  • Java Applet

mediawiki hooks

  • External Editor extension for mediawiki:

http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ee/README?view=markup

  • Embed Media extension : http://meta.wikimedia.org/wiki/Embed_Media


I've setup a development server to facilitate playing around without messing up ultipedia. If you're interested, lemme know.. Ivar 02:55, 9 August 2006 (MDT) --- What about using .gif's to demonstrate drills/set plays/etc? Frisbeelover 04:03, 3 December 2006 (MST)

gifs might be okay for one offs, but they're quite labour intensive to create and automation would be difficult. Ivar 14:28, 19 February 2007 (MST)

---

I just came across this via the OCUA forums today: http://phrogz.net/UltimatePlaybook/ It's an SVG-based play editor. Doesn't work from my work PC at the moment, but I've been told it's pretty impressive. dave0 11:46, 16 February 2007 (MST)

I checked it out, and unfortunately it relies on the deprecated Adobe SVG viewer. (Now that Adobe owns macromedia/flash they don't want to compete with themselves and have discontinued the product.) Limitations aside, it looked pretty cool.. I wonder if they'd be interested in helping out. Ivar 14:28, 19 February 2007 (MST)
It currently relies on the old, skanky Adobe plugin, but I've downloaded his CSS, SVG, and Javascript, and with minor tweaks to the CSS and javascript, the animation viewer portion works just fine with the SVG support in Firefox. I've mailed the author, but haven't received a response yet. The one of this source files that does have licensing information indicates that we might be able to use it anyway, with attribution. --dave0 09:35, 27 February 2007 (MST)

---

Just a sidenote, I haven't been putting nearly as much time into this as I had hoped. 'Real Life'(tm) has a way of getting in the way of free time. Right now, I'm going to focus on the sysadmin tasks (antispam measures and upgrading) Ivar 14:38, 19 February 2007 (MST)

Personal tools