I have an url of an mp3. I want to play it
2 questions:
In this way I have a complete player managed by a webview.
The autoplay feature doesn't work, even if I replace "controls=true autoplay=true" with "controls autoplay". Can be solved ?
or
With this solution I can play it immediatly but I have to manually write a full player with time scroller, pause, play and top button, time lapsed and so on.
Is there any solution ready to use / a media player to copy and paste ?
Or there's a third technique ?
Thanks
2 questions:
B4X:
WebView2.LoadHtml("<html><head></head><body><audio style='width:100%;' controls=true autoplay=true><source src='"&Url&"' type='audio/mp3'></source></audio></body></html>")
In this way I have a complete player managed by a webview.
The autoplay feature doesn't work, even if I replace "controls=true autoplay=true" with "controls autoplay". Can be solved ?
or
B4X:
vv.stop
vv.LoadVideoUrl(Url)
vv.Play
With this solution I can play it immediatly but I have to manually write a full player with time scroller, pause, play and top button, time lapsed and so on.
Is there any solution ready to use / a media player to copy and paste ?
Or there's a third technique ?
Thanks