Mohammad,

I tried your slider macro, but it takes the same amount of time as the 
DetailsWidget to load the first video clicked in the list.

Your slider macro:

<$list filter="[tag[video]sort[title]]">
<<slider label:{{!!caption}}  src:{{||VideoTemplate}}>>
</$list>

The DetailsWidget:

<$list filter="[tag[video]sort[title]]">

<$details summary={{!!caption}}>

{{||VideoTemplate}}

</$details>

</$list>


*Is there any way to get either the slider macro or the DetailsWidget to 
display as ""tc-btn-invisible tc-tiddlylink"?*

A modals list can look like tiddlylinks: 

<$list filter="[tag[video]sort[title]]">
   <$button class="tc-btn-invisible tc-tiddlylink">
      <$view field="caption"><$view field="title"/></$view>
      <$action-sendmessage $message="tm-modal" $param="VideoTemplate" 
currentTiddler=<<currentTiddler>>/>
   </$button><br>
</$list>

*But how do I get your slider macro or the DetailsWidget to look like 
tiddlylinks?*

I tried this but it didn't work:

<$list filter="[tag[video]sort[title]]">
<<slider label:{{!!caption}}  src:{{||VideoTemplate}} 
labelClass="tc-btn-invisible 
tc-tiddlylink" >>
</$list>

On Tuesday, April 13, 2021 at 11:47:36 AM UTC+8 Mohammad wrote:

> On Sun, Apr 11, 2021 at 3:06 PM Sapphireslinger <[email protected]> 
> 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 [email protected] 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 [email protected].
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cdaffc56-d4ad-45f4-ab4b-e1e25aca7374n%40googlegroups.com.

Reply via email to