Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Fix Fuchsia background-video errors (#6579)
In some cases, Fuchsia Chromecast tests will fail with the error: "The play() request was interrupted because video-only background media was paused to save power." This resolves the issue by ensuring tests run un-muted on that platform, based on this Chrome code, which indicates the "paused to save power" logic does not activate when sound is playing: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/media/web_media_player_impl.cc;l=3535;drc=d23075f3 This also fixes two places in our tests where the `createVideoElement()` was bypassed. This should always be used, because it is a central place to apply workarounds such as this.
- Loading branch information
1 parent
03ee77e
commit ddabe93
Showing
4 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters