TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is YouTube using a dark pattern to prevent background playlist play?

15 pointsby teapot01over 5 years ago
I listen to youtube playlists in the background fairly regularly and I&#x27;ve noticed some interesting changes in the last couple of weeks. Initially it began with an auto pause, and a popup saying video paused, click to continue.<p>More recently playlists have been looping the same song at seemingly random, looking to support forumss gives hundreds of comments reporting similar behaviour. (https:&#x2F;&#x2F;support.google.com&#x2F;youtube&#x2F;thread&#x2F;16267152?hl=en)<p>Is youtube trying to drive adoption of youtube red by intentionally reducing the user experience for non premium users?

2 comments

smittywerbenover 5 years ago
I haven&#x27;t experienced this specifically on YouTube, but you may be talking about the Page Visibility API [0]. I&#x27;ve tried to disable it natively in Firefox and Chrome (without extensions) but with no avail. It can even tell if I switch desktops in i3wm. Here&#x27;s two demos [1][2]. I&#x27;m guessing it&#x27;s saving $$$ on bandwidth. I just want the option to turn it off.<p>[0] <a href="https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;page-visibility-2&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;page-visibility-2&#x2F;</a><p>[1] <a href="http:&#x2F;&#x2F;daniemon.com&#x2F;tech&#x2F;webapps&#x2F;page-visibility&#x2F;" rel="nofollow">http:&#x2F;&#x2F;daniemon.com&#x2F;tech&#x2F;webapps&#x2F;page-visibility&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;testdrive-archive.azurewebsites.net&#x2F;Performance&#x2F;PageVisibility&#x2F;Default.html" rel="nofollow">https:&#x2F;&#x2F;testdrive-archive.azurewebsites.net&#x2F;Performance&#x2F;Page...</a>
评论 #21246215 未加载
评论 #21245411 未加载
mrsaltover 5 years ago
It would not surprise me if that was the case.<p>I do get that &quot;video paused&quot; popup every once in a while, but I have never seen the looping behavior.<p>If this is happening to you a lot, a cool way to get around it can be using mpv&#x2F;youtube-dl, they both support YouTube playlists:<p>mpv --no-video <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLThlnilAqSEtI9HNfZEEyeFd4micqSmsJ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLThlnilAqSEtI9HNfZEEy...</a><p>or<p>mpv <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLThlnilAqSEtI9HNfZEEyeFd4micqSmsJ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLThlnilAqSEtI9HNfZEEy...</a><p>The --no-video flag hides the mpv OSC (a simple GUI, which is not necessary if you&#x27;re playing songs). To navigate the playlist you&#x27;ll need to learn a few keyboard shortcuts (&lt;, &gt;, ENTER, p), and more:<p><a href="https:&#x2F;&#x2F;mpv.io&#x2F;manual&#x2F;stable&#x2F;#keyboard-control" rel="nofollow">https:&#x2F;&#x2F;mpv.io&#x2F;manual&#x2F;stable&#x2F;#keyboard-control</a><p>This works very well and is multi-platform.<p>Unless YouTube puts DRM on the whole site, this should continue working as long as you keep mpv or youtube-dl updated. Sadly I don&#x27;t think we can know for sure if they&#x27;re doing this on purpose.