Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to automatically play when switching audio

See original GitHub issue

I try to use the onend call back function to change the audio src, but it didn’t automatically play, even I use the player.paly() to play the audio, but it’s no use. So could you give me a solution to solve this problem.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

Vang-zcommented, Dec 28, 2021

I’m sorry for not replying to you in time, because I was ill during this period. I will test these methods as soon as possible and hope they work as scheduled. Thank you!

Vang-zcommented, Dec 18, 2021

Okay, thx a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

windows 10 - Automatically switch between monitor speakers ...
When you want to use headphones, just unplug the extension from your laptop and plug in headphones. Second option I'd recommend is to...
Read more >
Autoplay guide for media and Web Audio APIs
The simplest way to automatically play content is to add the autoplay attribute to your <audio> or <video> element. This sets the autoplay...
Read more >
How to prevent audio output to automatically switch to ...
a. Right Click on speaker icon and select playback devices. A new window titled soundshould open up. b. Right click on the ...
Read more >
Switching audio output on iTunes - Apple Community
Switching audio output on iTunes. If I'm trying to switch audio device while listening to music on itunes it doesn't play on the...
Read more >
Set up audio switch on your Android device - Google Support
On your Android device, tap Settings and then Connected devices. · Next to your device, tap Settings . · Tap Audio switch. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found