Hi Greg,

Looks nice and lean, especially the toc on the left and your player.

I would recommend you turn your player into a macro or even template,
so you only feed it what it needs, e.g. the video id, poster and title,

<<youtube someid someimage sometitle>>

In fact, you may want to even use fields for each video tiddler, e.g.

title: Doo Doom Chit Official M/V
yt: syvOPpgilVA
yt-title: 배드키즈 - 이리로 (COME CLOSER) M/V
poster: kpop\Introduction-to-TiddlyWiki.png

...and then use a Conditional ViewTemplate Section 
<http://tobibeer.github.io/tb5/#Conditional%20ViewTemplate%20Section> to 
display your player template for every tiddler that has a *yt* field, e.g.:

title: $:/_my/ui/ViewTemplate/youtube
tags: $:/tags/ViewTemplate

\define youtube-link() https://www.youtube.com/watch?v=$(yt)$

<$list filter="[all[current]has[yt]]">
<center><video width="568" height="320"
 poster={{!!preview}}
 controls preload="none">
 <source src="kpop\Introduction-to-TiddlyWiki.webm" type="video/webm">
 <source src="kpop\Introduction-to-TiddlyWiki.mp4" type="video/mp4">
 Sorry, your browser does not support the HTML 5 video tag.
</video></center>

<div class="middle">
<$list filer="[all[current]has[yt-title]]">
''{{!!yt-title}} - ~YouTube''<br />
</$list>
<$vars yt={{!!yt}}>
<<yt-link>>
</$vars>
</div>
</$list>

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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/bde03436-d5e0-4797-86cc-f3de207a86ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to