Auto play and no display of audio player

hi, Community!!
when a user uploads a file, if that file contains tumor, It should play โ€œyes.mpโ€ file. Else it should play โ€œno.mp3โ€ file.

requirements:

  1. Both files should play automatically based on the conditions when they needed.
  2. I dont want to display the music player. Only the sound is sufficient.

i have tried many ways and tired. Let me know if there is way. Thanks for your time.

Hi @krish,

Thanks for sharing your question with the community! :balloon: Please update your post to include a code snippet and a link to your appโ€™s public GitHub repo โ€“ this will allow the community to help you find an answer as quickly as possible. In the meantime, this post will be tagged as needs-more-info.