Hej!
I do not understand how to use parameters in macros correctly...

I would like to set the $(clipname)$ of the video in the second macro, somehow I do not manage to get it in there correctly. The rest is already working fine in a macro where the cliplink is set by a field llike the other elements of the cliplink.
I would like to call it <<videofile "my video.mp4">>


\define videofile(clipname)
<$list filter="[all[current]!is[system]]">
<$vars seminar={{!!seminar}} thema={{!!thema}} videosource={{folderpath}}>
<video controls id="fullstart" width=600px poster={{!!poster}}>
<source src=<<cliplink>>>
</video></$vars>
</$list>
<$list filter="[all[current]is[system]]"><div class="videoslide">
<$tiddler tiddler={{$:/HistoryList!!current-tiddler}}>
<$vars seminar={{!!seminar}} thema={{!!thema}} videosource={{folderpath}}>
<video controls id="fullstart" width=600px z-index=40 poster={{!!poster}}>
<source src=<<cliplink>>>
</video></$vars>
</$tiddler></div>
</$list>
\end

\define cliplink()
$(videosource)$$(seminar)$/$(thema)$/V/$(clipname)$
\end

Thanks for help


--
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/58DA57C5.3000600%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to