TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

YouTube change served lower-quality video to Firefox 43 for 2 weeks

371 点作者 temp超过 9 年前

16 条评论

jimrandomh超过 9 年前
Browsers identify themselves with a user-agent string, and the user agent strings are a giant disaster of technical debt resulting from a long history of browsers working around buggy websites and websites working around buggy browsers. Browser video is <i>also</i> a giant disaster of technical debt, and YouTube uses the user-agent string to determine which ways of serving video will work and which ones won&#x27;t. Presence of bugs here is no surprise, and any such bugs will naturally impact some browsers but not others.<p>So, a bug in YouTube&#x27;s compatibility-autodetection caused it to fall back to a slower, bitrate-limited fallback method that it didn&#x27;t need to, for some versions of Firefox. They took two weeks to deploy the fix. Considering those two weeks included Christmas and the bug didn&#x27;t affect security or render the site unavailable, this seems like a pretty good response time.
评论 #10879291 未加载
评论 #10878611 未加载
评论 #10879294 未加载
评论 #10878204 未加载
评论 #10877982 未加载
评论 #10878803 未加载
评论 #10878701 未加载
评论 #10878176 未加载
评论 #10879289 未加载
评论 #10879955 未加载
评论 #10879502 未加载
评论 #10880021 未加载
jtchang超过 9 年前
Ah user agents. One of my favorite quotes:<p>&quot;And then Google built Chrome, and Chrome used Webkit, and it was like Safari, and wanted pages built for Safari, and so pretended to be Safari. And thus Chrome used WebKit, and pretended to be Safari, and WebKit pretended to be KHTML, and KHTML pretended to be Gecko, and all browsers pretended to be Mozilla, and Chrome called itself Mozilla&#x2F;5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit&#x2F;525.13 (KHTML, like Gecko) Chrome&#x2F;0.2.149.27 Safari&#x2F;525.13, and the user agent string was a complete mess, and near useless, and everyone pretended to be everyone else, and confusion abounded.&quot;<p><a href="http:&#x2F;&#x2F;webaim.org&#x2F;blog&#x2F;user-agent-string-history&#x2F;" rel="nofollow">http:&#x2F;&#x2F;webaim.org&#x2F;blog&#x2F;user-agent-string-history&#x2F;</a>
tinco超过 9 年前
This is actually pretty great. Youtube has some issue with Firefox 43 and serves it lower quality video to deal with it (probably as a hack to enable video for some users for whom it didn&#x27;t work at all under 43, but there&#x27;s no explanation from Youtube engineers in the thread). The Firefox team complains to Youtube, but Youtube responds with that they won&#x27;t budge until January at least.<p>Firefox sees it as a threat to their reputation (obviously for them having a few users for whom it doesn&#x27;t work is better than having loads of users with a degraded experience) and they start spoofing their UA to another version. The Youtube engineer is indifferent (or can&#x27;t really do anything about it).<p>Then when it&#x27;s done a Google employee from a different team comes in the thread to complain about the situation because the fact that the UA is spoofed for <i>only</i> youtube.com and not other (Google) domains breaks his product.
评论 #10878678 未加载
mpitt超过 9 年前
The existence of a “feature” that relies on UA strings being consistent across domains, with the potential to “brick YouTube entirely in a user-visible way for all Firefox 43 users in Europe”[1], is quite worrying to be honest.<p>[1] <a href="https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=1233970#c61" rel="nofollow">https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=1233970#c61</a>
评论 #10879394 未加载
评论 #10878334 未加载
goodplay超过 9 年前
I was actually hit by that bug, which I erroneously attributed to firefox. I stopped using firefox as a result.<p>I will probably start using it again because I read this article. I can&#x27;t help but wonder how many ex-users who wont because they don&#x27;t follow the news.
评论 #10879305 未加载
0x0超过 9 年前
I&#x27;m curious about this non-user-visible europe-only feature, which depended on user-agents aligning between youtube.com and google.com, that got broken, especially since the details couldn&#x27;t be discussed in public.<p>Antispam? Ad-tracking? Why would it be Europe-only?
评论 #10878375 未加载
timothya超过 9 年前
Reading the comments on that bug, it looks like it was only a small subset of Firefox users who experienced this bug. Not really a big story.
评论 #10877973 未加载
评论 #10878018 未加载
评论 #10878065 未加载
评论 #10878182 未加载
dexwiz超过 9 年前
Some (not Mac) users on the newest version of Firefox got lower quality Youtube video over the holidays, and the issue would would not be fixed until next year? Oh yah, next year was next week. Thank goodness, it was still fixed within the year.<p>Do we live in a world where this in unacceptable?
评论 #10878655 未加载
Siecje超过 9 年前
Here is a list of bugs with Google services and Firefox.<p><a href="http:&#x2F;&#x2F;www.otsukare.info&#x2F;2014&#x2F;10&#x2F;28&#x2F;google-webcompatibility-bugs-list" rel="nofollow">http:&#x2F;&#x2F;www.otsukare.info&#x2F;2014&#x2F;10&#x2F;28&#x2F;google-webcompatibility-...</a>
zimbatm超过 9 年前
We should just remove the reporting of User-Agent in browsers. All they do is encourage user tracking a building half-baked heuristics.
评论 #10878198 未加载
评论 #10878111 未加载
评论 #10878491 未加载
评论 #10878072 未加载
yuhong超过 9 年前
I wonder why it was that important (for Firefox to do something about it).
评论 #10878017 未加载
评论 #10878103 未加载
rplnt超过 9 年前
On a similar note, Facebook does this as well for video. Take these two browsers: Chrome (with Flash bundled) and Opera (the new shitty one, based on Chromium, with chrome-like user agent and without Flash). Facebook serves Flash video to the browser without flash and HTML video to the browser with Flash.<p>Why? Fucking user agent.
评论 #10880992 未加载
chris_wot超过 9 年前
I think that browser user-agent-strings are far more trouble than they are worth.<p>I think at this point, if there are browser bugs in something as important as video, the release team or someone should pick it up before release as a show-stopper.<p>If the issue is on the server end, then the people running the server should be fixing their mess.<p>Do we know which it was? A Firefox issue that caused Youtube to detect the user-agent and server lower quality video, or was it an issue on Youtube&#x27;s end?
评论 #10878987 未加载
评论 #10880955 未加载
hoodoof超过 9 年前
The only reason this should be on the front page #1 of HN is if there is tangible evidence that intent was malicious.
评论 #10878232 未加载
评论 #10878881 未加载
评论 #10878297 未加载
评论 #10878584 未加载
nitrobeast超过 9 年前
Interesting ... Because of some incidents Google is evil ... Meanwhile Firefox is not allowed on iOS.
评论 #10879553 未加载
评论 #10879473 未加载
评论 #10879606 未加载
betolink超过 9 年前
I&#x27;ve also noticed the bug, it didn&#x27;t happen with Chrome. What do you all think was my first thought?
评论 #10879247 未加载