[PR #5221] [MERGED] Serve audio files using HTML5 audio tag #17706

Closed
opened 2025-11-02 15:09:12 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5221
Author: @cez81
Created: 10/29/2018
Status: Merged
Merged: 10/30/2018
Merged by: @lunny

Base: masterHead: aduio


📝 Commits (3)

  • 93cb905 Serve audio files using HTML5 audio tag
  • eacd79e Correct copy paste error
  • d6ef30a Merge branch 'master' into aduio

📊 Changes

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

View changed files

📝 modules/base/tool.go (+5 -0)
📝 options/locale/locale_en-US.ini (+1 -0)
📝 routers/repo/view.go (+2 -0)
📝 templates/repo/view_file.tmpl (+4 -0)

📄 Description

Similar to how Gitea shows video files using HTML this enables audio files.

Closes https://github.com/go-gitea/gitea/issues/5206

Ref: https://github.com/go-gitea/gitea/pull/418


🔄 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/go-gitea/gitea/pull/5221 **Author:** [@cez81](https://github.com/cez81) **Created:** 10/29/2018 **Status:** ✅ Merged **Merged:** 10/30/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `aduio` --- ### 📝 Commits (3) - [`93cb905`](https://github.com/go-gitea/gitea/commit/93cb9054eafb5aa0d6dfdce5555d613eb3ab4563) Serve audio files using HTML5 audio tag - [`eacd79e`](https://github.com/go-gitea/gitea/commit/eacd79e976e6bf6b6808733bf8fd7adde0e40139) Correct copy paste error - [`d6ef30a`](https://github.com/go-gitea/gitea/commit/d6ef30a13fc259470f4ecd4b2400421889eb6423) Merge branch 'master' into aduio ### 📊 Changes **4 files changed** (+12 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `modules/base/tool.go` (+5 -0) 📝 `options/locale/locale_en-US.ini` (+1 -0) 📝 `routers/repo/view.go` (+2 -0) 📝 `templates/repo/view_file.tmpl` (+4 -0) </details> ### 📄 Description Similar to how Gitea shows video files using HTML this enables audio files. Closes https://github.com/go-gitea/gitea/issues/5206 Ref: https://github.com/go-gitea/gitea/pull/418 --- <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 2025-11-02 15:09:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17706