(Background: I found a hack for embedding responsive video at 
https://www.h3xed.com/web-development/how-to-make-a-responsive-100-width-youtube-iframe-embed)

I assume it is code bloat to keep pasting 

<div class="container"><iframe src={{!!url}} 
frameborder="0" allowfullscreen class="video"></iframe></div> 

into every video tiddler. 

So I put this in a tiddler tagged $:/tags/ViewTemplate and it works: 

<$list filter="[<currentTiddler>tag[video]]">
<div class="container"><iframe src={{!!url}} 
frameborder="0" allowfullscreen class="video"></iframe></div>
</$list>

*But it broke this:* 

<$list filter="[tag[Video Collection - Foo]sort[title]]">
   <$button class="tc-btn-invisible tc-tiddlylink" message="tm-modal" 
param=<<currentTiddler>>>
      <b><$text text={{!!caption}}/></b>
   </$button><br>
</$list>

Clicking a link still brings up a modal but there is nothing in it now. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b768b715-f5b4-45e9-b898-b1381d341c05n%40googlegroups.com.

Reply via email to