Closed
Bug 1108022
Opened 10 years ago
Closed 10 years ago
Web Audio API doesn't work with local files
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: koko.fr.mu, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141013200324
Steps to reproduce:
Audio won't play when using Web audio API with local html page and AudioContext.createMediaElementSource.
I tried with this example : https://github.com/mdn/media-source-buffer.
It works online but it doesn't work in local...
Reporter | ||
Updated•10 years ago
|
Component: Untriaged → Web Apps
Reporter | ||
Updated•10 years ago
|
Component: Web Apps → Untriaged
Comment 1•10 years ago
|
||
This is what should happen. We respect cross-origin policy, and so if you're piping an <audio> to an AudioContext and the <audio> has a file:/// URL, it's not the same origin, and silence is output. This is specified at [0].
Chrome has a bug where they don't respect this.
[0]: http://webaudio.github.io/web-audio-api/#security-with-mediaelementaudiosourcenode-and-cross-origin-resources
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•