5 ms·
Warning: Video with sound autoplays when opening the page (in Chrome on macOS)
by mholt 9y ago
Warning: Video with sound autoplays when opening the page (in Chrome on macOS)
- imron 9y agoSolution: Video with sound doesn't autoplay when opening the page in Firefox in macOS.
- TrickyRick 9y agoDifferent solution: Just use the browser that came with the OS. Works perfectly in Safari.
- greglindahl 9y agoI can't use Safari until I reboot to install a critical security update. Yeah, no, I have a lot of ssh sessions open. And how is it possible that a browser on Unix requires a reboot to update?
- mkl 9y agoThat's what tmux and screen are for. Windows 10's infuriating restart requirements don't affect my ssh sessions.
- ygra 9y agoIsn't it generally a bad idea to rely on everything (power, network, OS) to remain stable to keep an SSH session open, just so processes on the other end don't get terminated?
- mkl 9y agoYes, that's what tmux and screen are for. You run one of them on the server and work within it, and then it doesn't matter what happens to the client or connection, your server processes are fine.
- r3bl 9y agoThere's also mosh[0], as an SSH replacement that is designed to keep the session open regardless of how long you lose the connection. [0] https://mosh.org/ https://mosh.org/
- greglindahl 9y agoSo it's OK for a Safari update to require a reboot because you use tmux?
- mkl 9y agoYes, you can reboot or disconnect the client all you want. tmux keeps your processes on the server safe, and you can ssh in and go back into your completely preserved tmux session. Or are you randomly trying to connect tmux and Safari? Safari's update requirements are totally unrelated, but tmux can mitigate some of the problems they cause.
- greglindahl 9y agoYou're the one connecting tmux and Safari. My complaint is that a browser update should never require a reboot, especially for a browser that I never use. I actually use screen on my laptop, but this is my workstation. It breaks rarely enough that also using screen on it doesn't make sense for me. But thanks for asking.
- dkersten 9y agoNo updates besides kernel updates should require a reboot, yet here we are... Its pretty rare that I have to reboot my mac though, at least compared to my windows experience. But above you said that you can’t reboot because you have too many ssh sessions open. Mkl’s suggestion of using tmux or screen would certainly help with solving the specific problem you mentioned preventing you from rebooting.
- akuji1993 9y agoBe right back, using Edge now.
- Numberwang 9y agoYou shouldn’t have to install and use a worse browser just for one webpage. A proper solution should come from the site developer.
- marmaduke 9y agohow is a browser which is proactively improving web experience worse?
- imron 9y ago> just for one webpage It's not just one webpage - it's for an increasingly large number of websites. And 'worse' depends a lot on use cases. I typically have many tabs open (maybe 40+) and for my use case Firefox has always been a better browser for that. I also get non-autoplaying videos - another thing that in my opinion makes the browser better than some alternatives, not to mention containerized browsing for better privacy. Chrome is 'worse' for all the things I care about.
- Numberwang 9y agoMaybe true. 40+ tabs sounds like a workflow issue though. Beyond having a few tabs open there are often better Ways of managing links.
- lostlogin 9y agoWindows of Siracusa County. It’s worth it. http://atp.fm/episodes/96 http://atp.fm/episodes/96
- greglindahl 9y agoTree Style Tab on Firefox is a great way of managing links.
- imron 9y ago> 40+ tabs sounds like a workflow issue though It's not a workflow issue, it's a workflow that I prefer to use (and I'm not the only one who prefers it - it's fairly common among people who still use Firefox over Chrome).
- tbabb 9y agoWhen I encounter a page that does that, I leave immediately.
- blhack 9y agoThere is a chrome add on that mutes all tabs by default.
- bambax 9y agoYes, that's annoying. When I find pages like this I disable javascript on the whole domain, which usually has many other benefits (no more nagging for notifications or email lists, no adblock detection, etc.)
- tiagoma 9y ago1. Go to “chrome://flags” in the URL bar and hit Return/Enter 2. In the search box at the top, type in “autoplay” 3. Look for “Autoplay policy” and pull down the submenu, then choose “Document user activation is required” 4. Relaunch Chrome for the setting to take effect It does work all that well, but it is something...
- sshagent 9y agoThanks!
- diggan 9y agoFor Firefox: 1. Go to "about:config" in the URL bar and hit Return/Enter 2. In the search box at the top, type in “autoplay” You'll find two variables to modify. `media.autoplay.enabled` and `media.block-autoplay-until-in-foreground`. They do exactly what they say they do. Turn them off/on as you wish by double-clicking, changing true to false and vice-versa.