# Embed Link Platforms (Twitter/X + Vimeo) ## Purpose Extend the lesson "Embed Link" video source to support platform-specific embeds (Twitter/X videos, Vimeo, and future platforms) instead of treating every URL as a raw HTML5 video source. The user selects the target platform from a dropdown; the system validates the URL, fetches metadata, and renders the appropriate embed player. ## Goals - Redesign the Embed Link tab with a platform source dropdown + URL input. - Support Twitter/X video/post embedding via oEmbed + widgets.js. - Support Vimeo embedding via iframe player URL. - Keep the `generic` video type for raw HTML5 video URLs (Mp4, WebM). - Lay a pattern for adding future platforms (Loom, Wistia, etc.) without schema changes per platform. - Rename the tab from "Embed Link" to "Embed" to reflect the broader scope. ## Non-Goals - Adding a dedicated tab per platform in the add-video modal. - Implementing watch enforcement or transcript support for embed platforms (they render as iframes, not HTML5 video). - Supporting Twitter/X as a downloadable video source. ## Constraints - Existing `generic` type behavior must be preserved (HTML5 `