Thank you Tony for your reply.

Perhaps an alternate strategy is to just copy the code ICKToz7BLLA the 
> generate a link or two
> In this case you could use [<code>addprefix[https://www.youtube.com/embed/
> ]]
>

I want to use the full link simply because it is easier to copy and paste 
on mobile.

But you can also take the link and [{!!url}removeprefix[
> https://www.youtube.com/watch?v=]addprefix[https://www.youtube.com/embed/]
> ]
>
 
I have tried both

<iframe width="560" height="315" src="[{!!url}removeprefix[
https://www.youtube.com/watch?v=]addprefix[https://www.youtube.com/embed/]]"; 
frameborder="0" allowfullscreen></iframe>

and 

<$action-createtiddler $basetitle={{$:/state/new-video-link}} 
text="{{||YoutubeTemplate}}" url=[{!!url}removeprefix[https://
www.youtube.com/watch?v=]addprefix[https://www.youtube.com/embed/]]/

But neither of those work. I don't think I understand how to include a 
filter within a widget or html?

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e1484b7c-e147-46f6-896c-6d9132b41a3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to