✨ Reflex is in Hosting Alpha! Learn more here. ✨
DocsBlogGallery

Search documentation...

/

Star

13k+

[ Learn ]

[ Concepts ]

[ Reference ]

Audio


The audio component can display an audio given an src path as an argument. This could either be a local path from the assets folder or an external link.

rx.audio(
    url="https://www.learningcontainer.com/wp-content/uploads/2020/02/Kalimba.mp3",
    width="400px",
    height="auto",
)

If we had a local file in the assets folder named test.mp3 we could set url="/test.mp3" to view the audio file.

Audio


Audio component share with Video component.


  • Base Event Triggers

← SpinnerAvatar →

Copyright © 2023 Pynecone, Inc.