Use custom video embeds

Gather the right embed code, confirm the domain is supported, and preview the player before publishing.

TeachKit supports direct embeds from several video hosts beyond the native integrations. As long as the provider issues a secure iframe, you can paste it into the lesson editor.

Supported domains

Custom embeds work when the iframe’s src URL points to one of the following domains (including their regional subdomains):

  • youtube.com or youtu.be
  • vimeo.com or player.vimeo.com
  • sproutvideo.com or videos.sproutvideo.com
  • rumble.com
  • embed.wistia.com or wistia.com
  • cloudflarestream.com
  • dailymotion.com or geo.dailymotion.com
  • loom.com or www.loom.com

If you rely on another host, reach out to TeachKit support so we can review and, if appropriate, whitelist the domain.

Add the embed to a lesson

  1. Open the class in the builder and navigate to Video Lessons.
  2. Select the lesson and go to the Video Details tab.
  3. Paste the full iframe code (including tags) into the embed field.
  4. TeachKit validates the code automatically. If the preview area stays blank or you see an error, double-check that the code uses https:// and points to a supported domain.

Best practices

  • Request an iframe embed—not a JavaScript snippet—from your video host.
  • Keep the iframe dimensions responsive (most providers supply width="100%" height="100%" automatically).
  • Test playback in a private browser window once you publish. Some hosts require you to list your TeachKit domain in their own allowed domains settings.

When you are ready for a deeper integration or library search, consider switching to one of the native connections (SproutVideo, YouTube, or Vimeo).