Is it possible to reproduce sound within a UXP plugin?

Is it possible to reproduce sound within a UXP plugin?

With CEP I used to reproduce a .mp3 file like this:

const audio = new Audio("sound.mp3");
audio.play();

Is it possible to do it in UXP some how?

Cheers!

Please search the forum for answers before posting a new thread.

2 Likes

Sure man thanks, I will.