Use custom video embeds

Add a supported HTTPS iframe and check that it survives validation and plays for learners.

A custom embed must pass both the lesson editor's checks and TeachKit's player security filter. An ordinary share link, a script snippet, or an arbitrary iframe host is not enough.

Add an embed

  1. Copy the video's iframe embed code from its host.
  2. Open your class, choose Video Lessons, and open the lesson editor.
  3. Paste the complete iframe code into the video embed field.
  4. Use an https:// source, review the validation message and preview, then save.
  5. Open the learner view and confirm that the saved video plays.

Supported player hosts

Use the provider's actual embed endpoint on a host supported by both checks:

  • YouTube: www.youtube.com or youtube.com.
  • Vimeo: player.vimeo.com.
  • SproutVideo: videos.sproutvideo.com.
  • TikTok: www.tiktok.com.
  • Loom: www.loom.com or loom.com.
  • Dailymotion: geo.dailymotion.com or www.dailymotion.com.
  • Rumble: rumble.com.
  • Wistia: player hosts within wistia.com, including embed.wistia.com.
  • Cloudflare Stream: player hosts within cloudflarestream.com.

Do not assume every domain or regional subdomain used by a provider is supported. In particular, Bunny iframe domains are not supported. The current editor and playback filters also differ for some alternative endpoints such as YouTube's privacy-enhanced domain, wistia.net, and videodelivery.net; use the listed endpoint where your provider offers one.

A preview is blank or the video disappears

Check the iframe's source host, HTTPS scheme, and opening and closing iframe tags. TeachKit keeps supported iframe markup and removes scripts and unsupported embeds. A code snippet that passes an initial check can still fail playback filtering or the provider's permissions.

If the provider only offers an unsupported endpoint, contact TeachKit support with the provider name and public embed documentation. Do not paste passwords, API keys, or private account tokens into the lesson.

Privacy remains with the video host

Set video visibility and embedding permissions with the provider. TeachKit enrollment does not make a public or unlisted video private at its source. Test using a learner account or a browser session that is not signed in to the video provider.