An audio widget I recently wrote requires the names of the local audio files to be played to be set in the widget’s attribute source. The list of audio files is variable and is created by the user by inputting a tiddlywiki filter expression in a text field. This filter expression is (currently) stored in the field search-expression of the player, e,g,
[regexp:performer[Demenga]get[file]]
The code of the player thus (currently) consists of just the following line:
<$audio source={{{ {{!!search-expression}} }}}/>
The transclusion, however, does not work.
The transclusion does work though if used with the ListWidget (not used in the player):
<$list filter={{!!search-expression}}/>
It correctly lists the file names (but does not give access to the list as an argument for the source attribute). It is only when the transclusion is used inside triple curly braces that it stops working. E.g., wikifying the filter expression does not help:
<$wikify name="search" text="{{!!search-expression}}">
{{{ <search> }}}
</$wikify>
// Result: <search>
It would be lovely if I could make the above single line of code work in one way or another.