Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Browser video sometimes stops working; how can I figure out why?

+2
−0

I leave my Mac (Mini, not laptop) running all the time, only rebooting when something forces me to (like a software update). My uptimes are usually measured in weeks, sometimes months.

Occasionally, browser-based streaming video (Youtube, Google Hangouts) will stop working, in all browsers, though everything else is fine. I can't correlate it to anything. This has happened under my current OS (12.2.1, Monterey), most recently last night, but it also happened under 11.6 (Big Sur) and 10.12 (Sierra -- that one was on different hardware).

When this happens it affects all browsers. It happened today and I checked Chrome, Firefox, Safari, and Brave (all up to date except Safari) -- same behavior. Rebooting fixes the problem.

I've already rebooted after today's problem (needed the video), but for next time this happens: what diagnostics might I be able to perform? Or is this a known problem with a known solution?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

It might also be worth having a look into the browser console (on Firefox `shift+cmd+J`) in case some... (2 comments)
Tried starting the browser from a terminal window? (3 comments)

3 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

+2
−0

I noticed a random lagginess and/or freezing in my browsers from time to time. After carefully switching off and on all plugins and things related to the network I found out it was the Apple Private Relay security service that come with my iCloud subscription, since I disabled it browsing and streaming has become smooth and stable.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+1
−0

Does the Mac Mini have a GPU? This sounds like something that could happen due to a graphics driver issue.

AFAIK Youtube relies on the HTML5 video element. If it freezes in all browsers, it's probably not a browser problem. Nevertheless, most browsers (eg. Firefox) have a "Safe Mode" which starts the browser with a basic configuration, plugins disabled, and so on. This might be worth trying. You didn't mention restarting the browser, but since all the browsers freeze it seems beside the point. Also, check if there's a "hardware acceleration" setting and if disabling it helps.

Try to download one of the videos with Invidious or a tool like youtube-dl. See if they run from the hard drive, with QuickTime or mpv. If that freezes too it is definitely not a browser problem.

Incidentally, mpv can stream from Youtube directly. The command is mpv https://www.youtube.com/.... That would be another thing to try, and it would interrogate network issues as a suspect.

Lastly, try creating your own HTML file that points to a local video and seeing what that does. Maybe something like:

<body>
  <video controls>
    <source src="/Users/monica/movie.mp4" type="video/mp4">
  </video> 
<body/

You can open this file in a browser (File -> Open) and it should play the video same as Youtube does, but without any network requests involved. If it's really a video driver issue, this should also freeze.

If you do discover that it's a driver issue, there will not be much you can do. Essentially you will have to wait for Apple to publish an update, which may be after some months or years. I'm not sure if there's an easy way on Macs to downgrade to older driver versions, nor am I aware of an easy way to swap GPUs.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+1
−0

As an alternative to rebooting, you might try to use "Force Quit Applicaitons" (Command-Option-Escape), select one web browser then click Force Quit. If there was another web browser in the list, repeat until there isn't any web browser.

You could use the Activity Monitor if you still want to go deep. For details for macOS Ventura, see Activity Monitor User Guide.

Hint: Try to find memory leaks.

Reference

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »