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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Google show signs of reconsidering auto mute after developer critique

39 点作者 Theodeus大约 7 年前

14 条评论

ChrisSD大约 7 年前
Usually when a major web browser decides to do something that has the potential to break existing websites they do extensive testing and put the call out for dev feedback before they release. Why didn&#x27;t that happen here?<p>Also it&#x27;s odd that Chrome decided to explicitly whitelist some sites. Surely that&#x27;s an admission that their automated workflow doesn&#x27;t actually work well?
评论 #17038043 未加载
评论 #17039422 未加载
评论 #17038149 未加载
mdip大约 7 年前
As my mom always said, &quot;This is why we can&#x27;t have nice things.&quot;<p>I <i>deeply</i> miss the days when all it took was installing something akin to &quot;Flask Block&quot; and this problem was solved. I&#x27;ve been using Firefox with their built-in autoplay blocking feature (hidden in about:config) for a while now on my desktop and on mobile -- mainly because of idiotic news sites that seem to think I want to listen&#x2F;watch the article I clicked in to (with the included pre-roll commercial, I assume[0]) and that my coworkers&#x2F;wife want to listen to it, too.<p>The solution offered by the original bug report sounds practical, but the thing of it is, the solution that Chrome has implemented, in my opinion, doesn&#x27;t go far enough[1]. I don&#x27;t just want the audio muted, I want the whole video prevented from even <i>starting</i> to download (on my mobile device) -- it wastes limited data and costs me money.<p>It&#x27;s sad that a &quot;fix&quot; to workaround a misuse of a feature is breaking legitimate uses. Having done a few years on the security side of the house at a telecom, I&#x27;ve tried to push developers in the direction of thinking about solutions from these sorts of angles. It&#x27;s important when designing something to think about not just how your creation will be used, but how it can be misused and while the latter shouldn&#x27;t necessarily prevent a feature from being implemented, it&#x27;s important to weigh the two against each other and think about ways that problems might be mitigated. This might result in the adjustment of a feature, or it might be nothing more than a contingency plan should nefarious use eclipse legitimate use.<p>[0] I run uBlock Origin so I&#x27;m not entirely sure that there&#x27;s a commercial -- I can only assume because the quality of the video, which is often nothing more than a man or woman reading the article, verbatim, in near-monotone voice is so poor that I can&#x27;t imagine this being a feature added because of user demand.<p>[1] Though, muting audio is certainly a good start. I remember in the 2000s when people would pass around e-mails with links to important sounding things that, when clicked, would open a browser that screamed a message out of your speakers &quot;Hey, everybody! I&#x27;m looking at porn!&quot;. Haven&#x27;t seen that in a long time, but it&#x27;ll come around again -- everything that&#x27;s old is new again at some point.
cm2187大约 7 年前
What I don&#x27;t understand is why they went this convoluted route of trying to assess what&#x27;s legitimate or not, what&#x27;s a user interaction or not. Does anyone know why they didn&#x27;t go the route of other permissions like notifications or location, with a discrete popup that says the page is attempting to play some audio (or video), do you want to allow? If it is legitimate, the user clicks allow once and the site works forever.
评论 #17037927 未加载
评论 #17037871 未加载
评论 #17037854 未加载
mr_toad大约 7 年前
I’ll immediately switch to using any browser that blocks auto play by default on all websites without exception.
评论 #17037936 未加载
评论 #17037901 未加载
eurticket大约 7 年前
I would suggest just having the tab muted by default, and maybe an easier button to toggle on&#x2F;off, than current right-click, to unmute&#x2F;solo. Perhaps, a limited notification for the first 100 times your tab is muted and it detects sound being played in the tab, so you&#x27;re not wondering why no sound is playing.
评论 #17037958 未加载
tonysdg大约 7 年前
I&#x27;m not sure I saw any signs that they&#x27;re &quot;reconsidering&quot; on this ticket -- just that they&#x27;re now aware of how many corner cases they have.<p>I can easily see Google saying, &quot;eh, that&#x27;s your problem, learn to whitelist your site with us.&quot;
评论 #17037796 未加载
kartan大约 7 年前
The Issue report is not very well done.<p>&gt; Autoplay restrictions on the web have long been inconsistent and served only to impede legitimate use cases.<p>This is judgmental, and it is not backed up with any data. Has it really &quot;served only&quot; to impede the legitimate uses?<p>&gt; I&#x27;ve described this in detail in the following blog<p>Blog promotion.<p>&gt; What is the expected behavior? Allow audio playback on page load without any user interaction.<p>Definitively this is not the expected behavior. Chromium team has defined that no audio will be allowed until there is user interaction.<p>&gt; Abusive content will just blare out audio at the first opportunity.<p>Yes. This is a red queen race. But doesn&#x27;t means that it is not worth pursuing.<p>I think that the point is valid. But the premise of the report, it is not. With the goal of minimizing sound SPAM in the web, Chromium has imposed some drastic measures that require changes in the interfaces of a large unknown amount of Javascript code.<p>&gt; &quot;These restrictions require special coding to handle them. Instead, the browser could simply allow all playback attempts to succeed, but mute the master audio output. Then the browser can automatically unmute the master audio output the first time the user touches the screen (or whenever else it deems the user is OK with audio).&quot;<p>The proposed solution is quite good. Let the browser show a button to enable sound like they did with pop-ups. So all the affected companies and individuals don&#x27;t need to repeat the checks all over the internet, to create a unified experience and to keep legacy games and applications that have no chance of being updated.<p>But as another post says, there is a lot of corner cases. I can imagine a blind user wanting to have sound without having to read some text.<p>The company I work for was affected by this change. And there was a lot of problems in production. To fix it, people had to work the weekend. I know that should not be like that, that we need to improve beta browser testing, and such. But sometimes the realities of companies make this kind of behavioral changes difficult.<p>I hope that Chromium finds a good way of keeping ads muted, while not breaking the Internet.
gpmcadam大约 7 年前
Wouldn&#x27;t this be easily resolved by giving the user the option upon visiting the site: &quot;This website would like your permission to play audio. You can revoke this at any time.&quot;<p>Similar to how storing files or sending push notifications works?
评论 #17038005 未加载
vidanay大约 7 年前
Now I know I&#x27;ve been reading too much Reddit. I was really impressed by the well articulated, grammatically correct, and properly spelled postings in that bug thread. My standards have been lowered too far.
bookofjoe大约 7 年前
Until I read this entry&#x27;s title, I&#x27;d never thought about whether Google is singular or plural—is &quot;Google show...&quot; an acceptable variant of &quot;Google shows...?&quot;
评论 #17038241 未加载
评论 #17038224 未加载
评论 #17038208 未加载
thrownaway954大约 7 年前
It might be just me, but I cannot (for the life me) understand what the issue is here. Maybe it&#x27;s because I&#x27;m not a mobile game developer or content creator where audio and video is my life.<p>I think people like me would benefit with an actual side-by-side demonstration of what the issue is now vs the resolution the author is proposing.
评论 #17040232 未加载
lucaspottersky大约 7 年前
isn&#x27;t the &quot;Allow website to send Notifications&quot; prompt on 99% of mainstream websites irritating enough?
评论 #17037923 未加载
amelius大约 7 年前
Since JavaScript can generate moving imagery, and animated GIFs can as well, the only sensible thing is to consider the video as something conceptually different from audio. I wouldn&#x27;t mind if they <i>always</i> allow videos to play, <i>except</i> I want full control over the audio at all times.
captainbland大约 7 年前
Is MySpace going to make a comeback here or what?