mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #14779] [MERGED] Add Audio HTML token support #39219
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/14779
Author: @GewoonJaap
Created: 6/8/2025
Status: ✅ Merged
Merged: 6/8/2025
Merged by: @tjbck
Base:
dev← Head:feature/audio-html-component📝 Commits (1)
d269c4bAudio token📊 Changes
1 file changed (+14 additions, -0 deletions)
View changed files
📝
src/lib/components/chat/Messages/Markdown/HTMLToken.svelte(+14 -0)📄 Description
Changelog Entry
Description
This pull request introduces support for rendering HTML
<audio>tags within the chat interface. Similar to how<video>tags are handled, this change allows users to embed and play audio content directly in their conversations. The implementation parses thesrcattribute from the<audio>tag and uses a standard HTML5 audio player for playback.Sample audio: https://samplelib.com/lib/preview/mp3/sample-12s.mp3
Added
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.