3 ms·
On related note... I came across a webpage yesterday with autoplaying video that doesn't respond to the GUI: https://www.denverpost.com/2019/01/31/wade-phillip
by jasode 8y ago
On related note... I came across a webpage yesterday with autoplaying video that doesn't respond to the GUI:
https://www.denverpost.com/2019/01/31/wade-phillips-masterful-super-bowl-tom-brady/ https://www.denverpost.com/2019/01/31/wade-phillips-masterfu...
If you click on the video to unmute it, you can't click again on the pause or mute icons to stop it or mute it. This behavior of ignoring your clicks happens in both Chrome and Firefox. Even clicking on Chrome's tab area with the little speaker icon doesn't mute it. To stop it, you can click on the video window's hamburger menu -- or close out the entire tab.
I don't know if it's aggressive javascript tricks or a bug in the browsers. It was the first webpage I found where Chrome's speaker icon on the page's tab couldn't mute the audio.
- Zarel 8y agoThat looks like a scripting bug. What it's doing is that it's intercepting your click on the video, preventing the default click action (of pausing the video), and then manually pausing the video. I would assume this is for cross-compatibility: Some browsers would pause the video, and others wouldn't, so the script interception makes it so the video correctly pauses on all browsers. On my computer, it plays/pauses without issue. Most likely, you've configured your computer to disallow the prevention of the default click action, so when you click, it toggles the play/pause state to pause, and then the script toggles it again, back to play. As for Chrome's tab area, the little speaker icon no longer mutes sites as of Chrome 70 or so. You now have to right-click on the tab and click "Mute Site", which works normally for this video.
- jasode 8y ago>As for Chrome's tab area, the little speaker icon no longer mutes sites as of Chrome 70 or so. Thank you for mentioning this so I can retain my sanity. It would have never occurred to me that Google would remove a useful feature like that. (Although I can see that a right-click-mute is more useful when there are dozens of tabs that narrow the widths too much to show a speaker icon.) It must have been pure coincidence that I haven't had a need to mute a webpage since Chrome 70. I was puzzled why both my Firefox and Chrome couldn't stop the video and your comment about the javascript click events made me look at my DNS logs. I noticed that my firewall blocks a lot of sites like "js.spotx.tv", "ntv.io", etc that's loaded by "denverpost.com" -- therefore I may be preventing some (ad) scripts from running that makes the GUI "fixes" you mentioned.