Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to use default <audio> tag #8267

Open
fakerybakery opened this issue May 12, 2024 · 6 comments
Open

Add option to use default <audio> tag #8267

fakerybakery opened this issue May 12, 2024 · 6 comments
Assignees
Labels
🎵 Audio Related to Audio component enhancement New feature or request svelte Frontend-related issue (JS)

Comments

@fakerybakery
Copy link

Hi, in old versions of Gradio there was no custom audio component and it used the built-in HTML audio element. The new component is amazing most of the time but for certain use cases it would be nice to have the built-in audio element back. Is there any way to do that, besides downgrading? Thanks!

@pngwn
Copy link
Member

pngwn commented May 12, 2024

What about the current audio element doesn't work for you? Is it the size?

@fakerybakery
Copy link
Author

That, and I want the user to be able to skip to any part of the audio file without horizontal scrolling

@pngwn
Copy link
Member

pngwn commented May 13, 2024

I see. Maybe we could create a minimal variant that better matches the old UX (but looks nicer).

Cc @hannahblair

@hannahblair
Copy link
Collaborator

@fakerybakery Duly noted! Will have a think about how to implement this.

@hannahblair hannahblair self-assigned this May 13, 2024
@abidlabs
Copy link
Member

This should solve this, right? #6801

@fakerybakery
Copy link
Author

I was more looking for a way to allow the user to skip anywhere in a longer audio file without having to horizontally scroll

@freddyaboulton freddyaboulton added 🎵 Audio Related to Audio component svelte Frontend-related issue (JS) enhancement New feature or request labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 Audio Related to Audio component enhancement New feature or request svelte Frontend-related issue (JS)
Projects
None yet
Development

No branches or pull requests

5 participants