Hi Jed,
Fantastic!
Thanks for guessing my thoughts, I think I can use this trick a lot.
Jan
Am 16.02.2017 um 13:02 schrieb Jed Carty:
The $(Variable)$ syntax only works when used inside a macro and the
variable was defined outside of the macro. Also there are some extra
}} in your code.
Here is one way to make it work:
|
\define InnerMacro()
<$vars seminar={{$(foc)$!!Seminar}}clipname={{$(foc)$!!clip}}
thema={{$(foc)$!!thema}}>
<video controls id="fullstart"width=600pxposter={{$(foc)$!!poster}}>
<source src=<<cliplink>>>
</video></$vars>
\end
<$set name=foc value={{$:/HistoryList!!current-tiddler}}>
<<InnerMacro>>
</$set>
|
but an easier way is probably to use the tiddler widget like this:
|
<$tiddler tiddler={{$:/HistoryList!!current-tiddler}}>
<$vars seminar={{!!Seminar}} clipname={{!!clip}}
thema={{!!thema}}>
<videocontrolsid="fullstart"width=600pxposter={{!!poster}}>
<source src=<<cliplink>>>
</video></$vars>
</$tiddler>
|
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/01ccd155-31e1-43c9-a22e-4ee8fa92887a%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/01ccd155-31e1-43c9-a22e-4ee8fa92887a%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/58A5A55F.4010400%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.