On Sun, Apr 11, 2021 at 3:06 PM Sapphireslinger <sapphireslin...@gmail.com> wrote:
> That DetailsWidget list calls for 36 video Detailwidgets, each > approximately 45 minutes. The first detailwidget I open, it is blank for 7 > seconds, then a black rectangle appears and finally the player controls > appear *24 seconds* later. I timed it with a timer. However, every video > I click after that is* instantly* available :) > > If it is a tiddler with* just one video DetailsWidget* in it, the video > loads instantly as well. But calling for *a bunch of video DetailWidgets > in a list *makes the first video load for 24 seconds or more. (A list > filter of video-modal links seems to have the same problem.) > You may want to give a try "display on demand" in Shiraz plugin - the slider macro - the details macro These are pure Tiddlywiki macros and very customizable! See: https://kookma.github.io/TW-Shiraz/#Tutorial%20Display%20on%20Demand Code page: https://github.com/kookma/TW-Shiraz Shiraz is a small Tiddlywiki 5 plugin contains macros, stylesheets, templates, snippets, images, static tables, dynamic tables and acts as a starter kit > > This is a relatively new Tiddlywiki with not much in it yet, since I'm > fixing it up for a blog. It's not my note-taking Tiddlywiki with thousands > of notes. > > Should I just accept it and try to put a splash screen in the > DetailsWidget somehow? > > I tried putting 20 of the video DetailWidgets together in a list as > separate DetailWidgets lined up (see below). It's weird. Sometimes clicking > on that first video loads almost instantly. Other times it takes 3 seconds > for something to appear, 7 seconds to load completely. > > <$details summary="TITLE 1"> > > {{VIDEO TIDDLER 1||VideoTemplate}} > > </$details> > <$details summary="TITLE 2"> > > {{VIDEO TIDDLER 2||VideoTemplate}} > > </$details> > etc, etc, etc. > > But when I tried transcluding that tiddler into another tiddler, it was > even worse, loading for almost 30 seconds. > > On Sunday, April 11, 2021 at 8:22:09 AM UTC+8 joshua....@gmail.com wrote: > >> Thanks for the assist, Eric! Glad this worked out, and even I learned a >> few things about syntax. >> >> Best, >> Joshua F >> >> On Saturday, April 10, 2021 at 7:35:49 AM UTC-7 Sapphireslinger wrote: >> >>> Thank you!! >>> >>> On Saturday, April 10, 2021 at 9:29:12 PM UTC+8 Eric Shulman wrote: >>> >>>> On Saturday, April 10, 2021 at 5:23:35 AM UTC-7 Sapphireslinger wrote: >>>> >>>>> I tried this. The DetailsWidget drops down, but empty again just like >>>>> the modal was. >>>>> >>>>> <$list filter="[tag[video]sort[title]]"> >>>>> <$details summary={{!!caption}}> >>>>> {{<currentTiddler>||VideoTemplate}} >>>>> </$details> >>>>> </$list> >>>>> >>>> >>>> 1) Except in filters, references to <<currentTiddler>> use *doubled* >>>> angle brackets. >>>> 2) You can't use <<currentTiddler>> within the {{...}} transclusion >>>> syntax >>>> 3) If you omit the currentTiddler syntax from the transclusion it will >>>> use the default (which is currentTiddler anyway), like this: >>>> >>>> {{||VideoTemplate}} >>>> >>>> -e >>>> >>> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/39873c62-f660-4343-8a4e-a81740b9df3fn%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/39873c62-f660-4343-8a4e-a81740b9df3fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMAodA7ugm5mnYZx0g5nOxhjHD8GYFNvXCkf7K4SUTxQ%2BQ%40mail.gmail.com.