Discord
Login
Community
DARK THEME

System player when playing music

When I play music using audio.playMusic(), the system player appears in my phone browser (Android).

How can I disable this player from appearing?

I would like to use playMusic because it has a setPosition function. playSound does not have this.

Make a public project - I'll test if it behaves like that for me too.

You can use the Audio object directly from JavaScript.

Here's an example of playing a radio broadcast.

https://microstudio.io/i/Loginus/audio3/

Here is an example of how to play two sounds simultaneously.

https://microstudio.io/i/Loginus/audioengine/

Your method is great, but it also causes the system player to appear in Android.

But I was able to solve the problem using a third-party library for sound - howler.js.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community