mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-28 03:52:43 +00:00
9c27d22ea6
More fixes for #1547
19 lines
411 B
Plaintext
19 lines
411 B
Plaintext
title: $:/core/macros/youtube
|
|
tags: $:/tags/Macro
|
|
|
|
\define youtube-thumbnail(link,width:"280",height:"157",image,caption)
|
|
<$link to="""$link$""">
|
|
<div class="tc-youtube-wrapper">
|
|
<div class="tc-youtube-thumbnail">
|
|
[img width="$width$" height="$height$" [$image$]]
|
|
</div>
|
|
<div class="tc-youtube-play-symbol">
|
|
{{$:/core/images/video}}
|
|
</div>
|
|
<div class="tc-youtube-caption">
|
|
$caption$
|
|
</div>
|
|
</div>
|
|
</$link>
|
|
\end
|