Thanks a lot @Mohammad ! The buttons are not part of the macro but it would be great if there was a way to generate them automatically to take notes on a video, like udemy does for example. It would require javascript though so I’m not sure how to do that …
I use this youtube annotation plug in (although its not packaged as plug in) made by tobibeer in my wiki. I like the fact that i can add notes with timestamp (which are separate tiddlers). I think you are aware of this one, just sharing it again in case you missed it.
@arunnbabu81 I don’t like the fact that it requires to manually set the id of the video but I do like the annotations feature ! I’ll try to add that to my version, thanks for sharing this
Somewhat related, does anyone know how much bandwidth prefetching occurs when viewing a YouTube iframe embed? I just used this with a rather unstable connection and it took a really long time to load the iframe. I’m wondering if there is a different approach because I often browse my tiddlywiki without an internet connection or on mobile. I am content with downloading the thumbnail and storing that locally, but I’m not sure how you can mix local content with a YouTube iframe.
yes using a state tiddler is a good approach. I would like to write my macro like this.
<<yt-embed "vsdDs7oOLlg" "Experience TiddlyWiki Fluency: Creating a Reading List">>
For those who are curious, it only prefetches the thumbnail which usually isn’t too big, but on unstable connections it can be quite slow to actually load the iframe. @TW_Tones , do you have an example of how to use a state tiddler in this situation?
I made the state tiddler title a variable with a qualified value
Defining a variable makes it easier to see and modify if using more than once in this tiddler.
using the $:/temp/ prefix should stop it being saved for next wiki load
I use a button and its popupTitle which is a handy way to toggle the existence of the state tiddler.
this way you need only one button widget
It has a html tag of div so does not look like a button
It has a tooltip you will see on hover in both “states”
Inside the button I test if the state tiddler has a title (exists) if it does, we display the content which is the iframe, if not we use empty message to display the thumbnail.
There may be a way to ensure the iframe starts to load behind the thumbnail someone can suggest.
Of course you could move the whole thing into a macro
Hi @telumire,
thank you! Another deep desire I had for a long time would be the option to have autofullscreen on play. Do you think that could be achieved with your macro?
I sincerely hope not! Sorry, but that is a behavior that I as a user would despise. I would hope that browsers simply do not support it. Any place that I use video (and it’s not that many, I suppose; I’m a text kind of guy!) lets me choose when to enter and leave full screen. That’s fine. Having a site choose it for me when I hit “Play” would send me as far away from that site as I can get.
Nice feature, I do link to youtube alot on my wikis.
Here are my 2 cents:
links to chapters might be more useful if instead of a pre-defined lenght they could be imported from youtube source video since some authors already mark on their videos timestamps for each chapter.
any update on the anotation system solution?
how come can we make webvtt-player to work with yt-macro?
Probably those features might be merged on a simple solution that allows you to type and assign anotations on specific chapters…
Hi @Scott_Sauyet, I wrote it would be great to have the option to go full-screen on play. When I was giving a lecture with many videosnippets it was a hustle to switch forward and backward manually with the video already playing.