[PR #12197] [CLOSED] Feat: Add YouTube embed support using VIDEO_YOUTUBE_ID token #61721

Closed
opened 2026-05-06 05:19:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12197
Author: @JunaidPinjari
Created: 3/30/2025
Status: Closed

Base: devHead: feat/youtube-embed-token


📝 Commits (1)

  • 0ef0eab Feat: Add YouTube embed support using VIDEO_YOUTUBE_ID token

📊 Changes

3 files changed (+12 additions, -0 deletions)

View changed files

📝 src/lib/components/chat/Messages/Markdown/MarkdownInlineTokens.svelte (+2 -0)
📝 src/lib/components/chat/Messages/Markdown/MarkdownTokens.svelte (+2 -0)
📝 src/lib/utils/index.ts (+8 -0)

📄 Description

  • Target branch: dev
  • Description: Enables dynamic embedding of YouTube videos in chat markdown.
  • Changelog: Included
  • Testing: Manually tested with embedded tokens in messages
  • Code review: Self-reviewed
  • Prefix: feat

Changelog Entry

Added

  • Markdown parser replaces {{VIDEO_YOUTUBE_ID_XXXX}} with <iframe> YouTube embeds.

Additional Info

This makes embedding YouTube videos via token simple and safe, preserving formatting while enhancing interactivity.

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/12197 **Author:** [@JunaidPinjari](https://github.com/JunaidPinjari) **Created:** 3/30/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/youtube-embed-token` --- ### 📝 Commits (1) - [`0ef0eab`](https://github.com/open-webui/open-webui/commit/0ef0eab24867ef87cb4a63445deb90094059733f) Feat: Add YouTube embed support using VIDEO_YOUTUBE_ID token ### 📊 Changes **3 files changed** (+12 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Messages/Markdown/MarkdownInlineTokens.svelte` (+2 -0) 📝 `src/lib/components/chat/Messages/Markdown/MarkdownTokens.svelte` (+2 -0) 📝 `src/lib/utils/index.ts` (+8 -0) </details> ### 📄 Description - [x] Target branch: `dev` - [x] Description: Enables dynamic embedding of YouTube videos in chat markdown. - [x] Changelog: Included - [x] Testing: Manually tested with embedded tokens in messages - [x] Code review: Self-reviewed - [x] Prefix: feat --- # Changelog Entry ### Added - Markdown parser replaces `{{VIDEO_YOUTUBE_ID_XXXX}}` with `<iframe>` YouTube embeds. --- ### Additional Info This makes embedding YouTube videos via token simple and safe, preserving formatting while enhancing interactivity. ![image](https://github.com/user-attachments/assets/55c77aef-ae89-46fe-a1a2-08e4874bc1b9) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 05:19:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#61721