Closed Bug 1517046 Opened 6 years ago Closed 6 years ago

When media element connected via web component to AudioCOntext.destination, media will not play.

Categories

(Core :: Web Audio, defect)

66 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1513733
Tracking Status
firefox64 --- unaffected
firefox65 --- unaffected
firefox66 - fix-optional

People

(Reporter: rjc, Unassigned, NeedInfo)

References

Details

(Keywords: regression)

Attachments

(2 files)

(deleted), application/x-zip-compressed
Details
(deleted), application/x-zip-compressed
Details
Attached file test.zip (deleted) —
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0 Steps to reproduce: created media element via web component, and connected to AudioContext.destination. Actual results: user clicks play button, but media does not play. Expected results: media should have played.
This works in current release (v64), but fails in nightly. Doing same in simple script (not custom element), media plays in nightly as it should.
No messages in console. Confirmed change in behavior. Identifying the changeset that triggered the change in behavior should clarify whether or not this is intended.
Status: UNCONFIRMED → NEW
Ever confirmed: true
[Tracking Requested - why for this release]: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a25969bf715e63e8d6072c248aa94743e3b704bc&tochange=66baa44b06c2b739306d949eebbc39c9272c213c Regressed by; 66baa44b06c2 alwu — Bug 1511120 - Turn on the pref "media.autoplay.block-webaudio" on Nightly r=padenot
Blocks: 1511120
Flags: needinfo?(alwu)
Turning off media.autoplay.block-webaudio in about:config fixed it for me. Thank you.
Changes in bug 1513733 are necessary for the expected behavior here, but those changes should also be necessary for simple script and so don't explain this: (In reply to Rich Caloggero from comment #1) > Doing same in simple script (not custom element), media plays in nightly as > it should. Could the simple script version have delayed construction of the AudioContext until "play" was clicked?
Depends on: 1513733
Flags: needinfo?(rjc)
This issue will be fixed in bug1513733.
Status: NEW → RESOLVED
Closed: 6 years ago
No longer depends on: 1513733
Flags: needinfo?(alwu)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: