Check this tiddler and press the beneath the title of the tiddler. A sidetabs with images in spotlight mode opens on the right side of the tiddler body
I am using this to hide the images from the tiddler body and show them in the sidetabs on the right side to reduce the visual clutter while reading the tiddler text field and also to scroll and see the images on the right sidetabs while I am reading the tiddler text.
I now need to replicate this function with videos. But for that I need a regexp to extract the videos with html video tags.
I need to extract and list all emebedded html videos together so that I can see them in the sidetabs on the right side separately (while hiding the videos in the tiddler body).
For this I need to extract the whole snippet including the html video tags I suppose
It’s in the text field. Or should I use separate tiddlers for videos and embed them in the parent tiddler. I didn’t want to use seperate tiddlers for each videos since I have many such videos mostly local files
@tw-FRed Thank you. It almost works. The regexp correctly extracts the video, but they are displayed as links. How to modify the code to display them as video itself.