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 the src attribute from the <audio> tag and uses a standard HTML5 audio player for playback.
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.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/14779
**Author:** [@GewoonJaap](https://github.com/GewoonJaap)
**Created:** 6/8/2025
**Status:** ✅ Merged
**Merged:** 6/8/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `feature/audio-html-component`
---
### 📝 Commits (1)
- [`d269c4b`](https://github.com/open-webui/open-webui/commit/d269c4b8e6f2119ef9ed342b3de1333ca96a124d) Audio token
### 📊 Changes
**1 file changed** (+14 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/components/chat/Messages/Markdown/HTMLToken.svelte` (+14 -0)
</details>
### 📄 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 the `src` attribute 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
- Rendering of audio tags in response
### 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)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.