Help, play audio onEvent

Hello

I have been following the forum for quite some time. And could already get many helpful tips.

But now I can’t find the right solution. I would like to play audio (local/remote) on certain triggers. I tried with UDHtml & UDElement, but I can’t get any sound out of the browser.

New-UDElement -Tag '<audio>' -Attributes @{    
         src="https://someaudiofile&type=wav" 
         type="audio/wav"
        }

or with this

 New-UDHtml -Markup '<audio> 
        <source src=".\localaudio.mp3">
        </audio>' 

Thanks for your help.

New-UDElement -Tag ‘audio’ -Attributes @{
src=“https://someaudiofile&type=wav”
type=“audio/wav”
}

Hi, did you get any sound from this element, how? I tried it in UDButton and UDCard, but nothing happens. :frowning: