Video - skip to a particular time ?

107 views
Skip to first unread message

Jon Light

unread,
May 20, 2021, 6:16:10 AM5/20/21
to TiddlyWiki

Hi, sometimes in my Tiddlywiki 5 knowledge base I add local videos stored in a directory called well....unimaginatively 'videos' .

As long as I set the tiddler type to text/vnd.tiddlywiki then the following works fine for me on desktop.

<html>
<video width='50%'  id="myVideo"
 poster='videos/example.jpg' controls preload='none'>
    <source src='videos/example.mp4' type='video/mp4'>
    Your browser does not support the HTML 5 video tag.
</video>
</html>

What I would ideally like to do is to write a number of paragraphs each detailing ideas and reflections on what the speaker in the video is saying with the paragraph preceeded by a link button that will skip the playback to that particular point in the video - 'video bookmarks' is a nice way to look at it I think.

I can see how to do this in a regular web-page but that all involves finding the video in the DOM - for instance a very basic version

document.getElementById("myVideo").currentTime = 100;

I wondered if anyone had played around in this area? Videos are playing an increasingly important role in the transmission of ideas, a tiddler that can play time coded segments associated with specific text seems like a lot of fun and use to me.







Jon

unread,
May 21, 2021, 2:16:09 AM5/21/21
to TiddlyWiki
Hi,

This might not be what you're looking for (and I'm only a basic user etc.) but I use links to external YouTube videos a lot in my wiki.

I use Mohammed's Refnotes plugin which shows the source on hover and {{y}} is a small transcluded video icon which opens the video in a new tab when clicked. The following is contained as a text editor snippet which I can repeatedly paste into the tiddler to go with the relevant text.

<a href="

">{{y}}</a> <<fnote "Jeremy Ruston">>

I then copy the video link to play at the current time and paste in the gap above:


<a href="
">{{y}}</a> <<fnote "Jeremy Ruston">>

Regards
Jon

yt-icon.png

TiddlyTweeter

unread,
May 21, 2021, 4:41:27 AM5/21/21
to TiddlyWiki

I wondered if anyone had played around in this area? Videos are playing an increasingly important role in the transmission of ideas, a tiddler that can play time coded segments associated with specific text seems like a lot of fun and use to me.

They have. There at least TWO serious works on time-jump for YouTube & Vimeo done in TW already. 
As usual I just can't find the links when you need them :-(

Hopefully somebody else will.
Best wishes
TT

Jon Light

unread,
May 21, 2021, 6:33:21 AM5/21/21
to TiddlyWiki
Hi TT - thanks I tried your phrase "time-jump" in Google search [ time-jump for YouTube & Vimeo Tiddlywiki ] and that delivered


Which I will be trawling though

Thought: Perhaps people who are thinking about this concept might adopt your phrase "time-jump for video" so we streamline search activity?
Reply all
Reply to author
Forward
0 new messages