Page loading
Skip to main content

Video embeds

TigYog exists to combat the scourge of “video playlist” courses. But that doesn’t mean video is bad! You can embed videos in your TigYog chapter, as part of a larger interactive lesson. Here’s an example video from the Zero to Geo series on YouTube:

The “YouTube embed” iframe

To embed a YouTube video like this, first add an “IFrame” block to your document. Then set the iframe URL to:

https://tigyog-iframe-youtube-embed.glitch.me/

Finally, set the “init data” to the YouTube video ID — that’s the string like 2hBWCCAiCzQ that you see in the URL of the YouTube video like https://www.youtube.com/watch?v=2hBWCCAiCzQ.

The “TED embed” iframe

Here’s a TED video:

To embed a TED video, add an “IFrame” block, and set the iframe URL to:

https://tigyog-iframe-youtube-embed.glitch.me/

Then set the “init data” to the TED video ID from the URL, like:

sir_ken_robinson_do_schools_kill_creativity

Other video sources ...

Yeah, the above is specifically for YouTube. If you want to embed video from other places, you can fork the YouTube embed source on Glitch, or you can email me — I’ll help out!

Quoted text:

Your feedback will be sent privately to the author. They may reply to you by email. Thanks for helping make this course better!