Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌸 Cherry-pick request for #38216 into LTS/Stable/Beta (Approved) #38218

Closed
mszylkowski opened this issue May 19, 2022 · 2 comments
Closed

Comments

@mszylkowski
Copy link
Contributor

Issue (P0 Bug)

#38206

Pull Request(s)

#38216

AMP Version(s)

2205051832000, 2204221712000, 2205051832000

Channels

Beta / Experimental, Stable, LTS

Formats

Stories

Justification

On video-heavy stories, the audio of later videos don't play if they have the noaudio attribute on earlier videos (through the Google video cache or manual addition of the attribute), and can throw a CORS error if the videos are crossorigin. There is no way to bring back the audio by muting/unmuting, because the video element from the mediapool is corrupted and can't play audio after that until the browser is refreshed. Bug introduced by #37712.

This affects stories in a significant way (videos can't be unmuted).

Verification Steps

Unmute the story https://www.thinkwithgoogle.com/consumer-insights/consumer-trends/trending-visual-stories/viewer-choice-reshapes-content on the first video with audio (page 6), the last video with audio (3rd from the last) should play the audio and not be muted.

Note: this only works if the story starts playing from the beginning, not if you open the story directly on the last page (in that case, the first video might be muted).

Summary

We used gain nodes that control volume (a not well tested integration) to implement a feature for a very used attribute (noaudio).

Impact

Users in all browsers and all viewers, for stories that have many videos where some are muted and some are not muted.

Action Items

No response

Notifications

/cc @ampproject/release-on-duty @ampproject/wg-approvers @ampproject/cherry-pick-approvers

@jridgewell
Copy link
Contributor

Approved.

@gmajoulet
Copy link
Contributor

Quick update: I am running into various issues with the cherry-pick process and haven't been able to perform it so far

@mszylkowski mszylkowski changed the title 🌸 Cherry-pick request for #38216 into LTS/Stable/Beta 🌸 Cherry-pick request for #38216 into LTS/Stable/Beta (Approved) May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants