Missing "m4b" and "mov" format for Audio component
Author: ROBERT-MCDOWELLCreated Sep 12, 2026Updated Sep 14, 2026
Labelsbug
Describe the bug
Audio component convert m4b to wav to play it which is wrong since all modern web browsers can read this format.
Have you searched existing issues?
- I have searched and found no existing issues
Reproduction
import sys
import mimetypes
import gradio as gr
mimetypes.add_type("audio/mp4", ".m4b")
m4b_path:str = sys.argv[1] if len(sys.argv) > 1 else "audiobook.m4b"
with gr.Blocks() as demo:
gr.Audio(value=m4b_path, type="filepath", label="Audiobook")
demo.launch(server_name="0.0.0.0")Screenshot
No response
Logs
System Info
gradio 6.26+Severity
I can work around it
Source: gradio-app/gradio