Hi Rich,

I can imagine there being a *<$video>* widget which can be configured to 
output a player for supported sites, with attributes like title, url, width, 
height, autoplay, etc... using simple iframes, no exessive api magick.

The video widget could be nestable so as to define a number of timestamps, 
e.g.:

<$video mode=player url="foo.com/345egfw" title="foo">
    <$video mode=cue start=1m30s comment=foo/>
</$video>

...which would, based on some perhaps definable template, render a 
clickable link / button which when clicked rerenders the video previously 
rendered by the *outer* video widget at the given time / for the given 
start-end positions. Right now, implementing the actual API for each site 
seems overkill for simple cueing behavior.

Anyhow, the inner widget call could be simplified into some macro, e.g.

<<cue 1m30 "foo">>

Something like that?

*@Jeremy,*

As for querying the dom, are there some basic helpers in tw5 to do that? 
e.g. something corresponding to $.closest() and $.find() in jQuery? As you 
can see, the idea is to have one widget (even partially) redraw the output 
of another, in this case even the parent.

Is that a workable / meaningful pattern?

Best wishes, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to