chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Autoplay for cl.audio

Open MaxMLang opened this issue 3 months ago • 0 comments

Is your feature request related to a problem? Please describe. We are currently trying to build a conversational AI app with voice output (reading out the response), and ideally, the player should start automatically. Currently, the user needs to click on the play button (of the CL audio player) first, interrupting the conversation flow. Describe the solution you'd like A parameter in cl.audio(autoplay = true) such that the audio (player) automatically starts. Describe alternatives you've considered We tried implementing the autoplay ourselves in the React frontend and Javascript backend, but it didn't work well.

MaxMLang avatar Mar 26 '24 13:03 MaxMLang