Music in the app
Application Type
Reactive

Hi guys!


I was just wondering if it is possible, somehow, to play a music in the app while we are on the homepage?


Thank you

Hi Taigo,

You can implement this using below JavaScript

var audio = new Audio('audio file url with extension');
audio.play();

Else you can use native audio plugin to play local audio.. We have lot of components in Forge.

Cheers!!

Thanks, Aadhavan S

Hi Aadhavan!


Thank you for your reply. I will try that.


Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.