Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

365
Views
How to play sound through the device's speakers even when connected to radio/bluetooth in the car?

When my mobile device is connected to my car's bluetooth and configured on radio (FM) and not (BT), the sounds of the device are not getting played, either from the car's speakers or from the device's speakers.

I am playing audio via JS like that:

import sound from '../my-sound.mp3'
const audio = new Audio(sound)
audio.play()

The sound works both on foreground and background, but not when connected to the car's bluetooth.

I do aware that this feature exists, as it is getting used in Waze and even when connecting to radio and hearing music, the Waze's vocal instructions are getting played through the physical device's speakers. They also have the ability to configure this option, like showed in the following screenshot:

enter image description here

I am using Cordova as well, so any implementation or solution either in JS or Cordova is welcome.

In Cordova I am using the official device media plugin, but couldn't find any option to achieve what I need..

I also looked on the Web API: https://developer.mozilla.org/en-US/docs/Web/API but unfortunately it's completely complex and complicated so I barely could understand anything...

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!