Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit db22ea0

Browse files
authored
Disable 5k youtube videos (#3288)
Work around for #3193
1 parent e1c08cc commit db22ea0

File tree

1 file changed

+4
-1
lines changed
  • app/src/main/assets/web_extensions/webcompat_youtube

1 file changed

+4
-1
lines changed

app/src/main/assets/web_extensions/webcompat_youtube/main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ class YoutubeExtension {
173173

174174
// Get's the preferred video qualities for the current device.
175175
getPreferredQualities() {
176-
let all = ['hd2880', 'hd2160','hd1440', 'hd1080', 'hd720', 'large', 'medium'];
176+
// Disable 5k video until issue can be resolved in Gecko Media Process
177+
// see https://github.com/MozillaReality/FirefoxReality/issues/3193
178+
// let all = ['hd2880', 'hd2160','hd1440', 'hd1080', 'hd720', 'large', 'medium'];
179+
let all = ['hd2160','hd1440', 'hd1080', 'hd720', 'large', 'medium'];
177180
return all;
178181
}
179182

0 commit comments

Comments
 (0)