Use case: while a customer is waiting to be connected to a video chat for their corona test, I would like them to opt-in to have some music being played. The benefit is that the hold music will stop once they are connected with an agent (due to visibility conditions - the agent app is connected to the user app, so an increment on one side passes through to the other device in around 15 seconds).
I explored autoplay in this community - but Chrome does not allow it.
I have re-thought through my requirement - and now I would like to give the customer the option to play music if they want. I would like them to click a button… then music just starts playing.
It should not open up the native Glide player… ideally the music plays when the button is clicked, and it will stop once the component is no longer visible.
This was a solution @PabloMFalero came up with a while ago - webview that will play music. It works to play music… but it does not start playing as soon as a button is clicked in Glide. There must be some cool trick I am missing…