question-mark
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.

Firefox Audio Src

See original GitHub issue

In Firefox and Edge, the audio source does not load.

Console: Invalid URI. Load of media resource failed.

DOM: <audio class="music-player-audio" src="https://domain.com/path_to_mp3"></audio>

It works fine in Chrome. Any thoughts? I’m loading the audioList from a fetch which updates the state in the component.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lijinke666commented, Jun 27, 2018

mobile it’s not playing.

yes, it’s a bug, i’m try fix it

0reactions
lijinke666commented, Feb 6, 2019

I am sorry that I am free to maintain this project recently I publish 4.1.0 version fixed some issue . now

😁 Firefox is work image

😁 Safari is work (desktop and mobile) image

I also fixed some weird problems , Playing audio on mobile is annoying .

good luck, have fun

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Embed Audio element - HTML - MDN Web Docs - Mozilla
The HTML element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src...
Read more >
Cross-browser audio basics - Developer guides | MDN
src contains the path to the audio file to be loaded (relative or absolute). type is used to inform the browser of the...
Read more >
Audio() - Web APIs - MDN Web Docs - Mozilla
The Audio() constructor creates and returns a new HTMLAudioElement which can be either attached to a document for the user to interact with ......
Read more >
HTMLAudioElement - Web APIs - MDN Web Docs
Refer to Firefox and chrome for best practices and work arounds. Some of the more commonly used properties of the audio element include...
Read more >
HTML5 audio and video in Firefox - Mozilla Support
Firefox can handle audio and video content on web pages and can open some media files. Learn about supported formats and managing playback....
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found