To the page content

Why Safari gives a MacBook a black preview, and where to fix it

Video chat that opens to a black square in Safari rarely means a broken camera. Far more often Safari holds a stored answer for this one site, or macOS hands the page a different camera than the one you are looking at. Below is a single evening on a MacBook, followed by the same fixes in an order you can run through in about five minutes.

One Tuesday evening, one black square

Leo sits cross-legged on a sofa with a MacBook Air on a cushion, a lamp behind him, and a mug going cold on the armrest. He opens our chat in Safari, presses the button to start, and waits for the permission question he expects. It never comes. His own preview is a flat black rectangle with a small crossed-out camera icon, and the stranger's side stays blank too.

His first guess is the hardware. He opens another app that uses the lens, sees himself clearly, and decides the camera must be fine. His second guess is the Wi-Fi, so he restarts the router and loses ten minutes. His third is to reinstall the browser, which he cannot do the way he imagines, since Safari comes with the Mac. Nothing changes, and every attempt looked reasonable while he was making it.

The cause turns out to be small. Weeks earlier, the first time he came to this site, Leo had waved away the camera question with Don't Allow, half reading it, the way anyone clicks away a pop-up. Safari remembers that kind of answer. It keeps one answer per site, and for this site the stored answer was Deny, so the question that would have fixed everything was never asked again.

He finds it in ninety seconds. Safari menu, Settings, the Websites tab, Camera in the left column. There it is, listed with a drop-down set to Deny. He switches it to Ask, refreshes the page, and this time the question appears. He presses Allow, and his face fills the preview. The whole repair was one drop-down, one reload and one click.

The second problem hides behind the first

Leo is pleased for about a minute. A stranger appears, talks, and Leo answers, but the stranger only shrugs and taps his own ear: no sound is arriving from this side. The camera was allowed, yet the microphone is a separate permission with its own drop-down in the same Settings pane, and Leo had only dealt with one of the two. He opens the Microphone list, finds the site, and changes Deny to Ask.

That fixes the permission, but the sound is still thin and distant. His Mac is plugged into a monitor with a speaker bar, and macOS has quietly chosen the monitor as the microphone, two metres from his mouth. In System Settings, under Sound, the Input tab lists every source with a level meter. He clicks the built-in microphone, says a sentence, and watches the bars jump.

Three layers, checked from the outside in

Looking back, Leo's evening had three separate layers, and each one can fail while the others work. The first is Safari's stored answer for the site, which decides whether a question is even asked. The second is the device layer: which camera and which microphone macOS gives to the page. The third is anything sitting above both, such as an extension, a work policy or a closed lid.

The useful part is the order. Begin with the layer closest to the page, because it takes the least time to look at and is the most common culprit. Only when the permission clearly reads Ask or Allow does it make sense to move on to hardware. People who begin with the hardware, as Leo did, lose the most time, since a healthy camera proves nothing about a site that Safari has been told to refuse.

Notice, too, what did not help. Restarting the router changed nothing, because the picture from your own lens never has to cross the network before you see it. A black preview before any match is almost always a local matter, between Safari, macOS and the device on your desk. Nor does it matter whether you have any login: permissions live in the browser, not in an account, and the page about skipping sign-up explains how entry works here.

Picture back? Come and say hi

Your preview shows you and the microphone moves its bars. That is everything the chat needs from Safari.

The Safari route, in five moves

  1. Reload and read the question

    Refresh, press start once more. If Safari asks about the camera, choose Allow. Choosing Don't Allow is remembered for this site, which is exactly how a black preview gets stuck.

  2. Open this site's own settings

    In the menu bar pick Safari, then Settings for This Website. Each of the two rows, for camera and for mic, should read Ask or Allow. Anything set to Deny explains the black square at once.

  3. Check the full list

    Choose Settings in the Safari menu, switch to the Websites tab and pick Camera in the sidebar. Every site with a stored answer has its own drop-down there, and the last row sets the starting answer for sites you have not visited. Repeat for Microphone. On older macOS versions the word is Preferences; the route is the same.

  4. Reload after each change

    Safari reads a permission at the moment the page opens, so a change made while the page is open does nothing until you reload. It costs three seconds and saves ten minutes of wondering.

  5. Quit Safari and open it again

    Press Command and Q, not just close the page, then reopen Safari. This releases a camera that an earlier session may still be holding.

Matching sign to source

What shows up Likely cause Where to look first
Black preview, and no question was ever asked A stored Deny for this site Safari menu, Settings for This Website, camera row
You allowed the question, yet it is still black Lid closed over the built-in lens, or the wrong camera chosen Open the lid; unplug any camera you are not using
Picture fine, but the person opposite hears nothing Microphone denied, or the Mac listens to the wrong source Microphone list in Websites; level bars under Sound
The picture looks like the inside of a pocket A nearby iPhone offered as the camera Move the phone away, or switch off its Continuity Camera
Nothing asks and the permission rows look right An extension, Screen Time, or a policy on a managed Mac Extensions off for a test; ask whoever manages the Mac
Worked yesterday, frozen or black after sleep A stale camera session in the old page Refresh; if that fails, quit Safari fully

Three words in the drop-down

Ask
Safari shows the question each time a site wants the camera or the microphone. A good setting when you are unsure, and the one to pick when you are repairing a stuck Deny.
Allow
The site gets the device straight away, without a question. Handy for a place you open often, but check the menu bar dots now and then so you know when the lens is live.
Deny
Silent refusal: no question, a black preview, no error message. This is the setting behind most stuck cases like Leo's.

Lenses that are not the one you meant

A Mac can have several cameras available at once, and the page does not always get the one you are facing. With the lid closed and an external monitor attached, the built-in lens sits shut behind the display, and Safari receives a black frame. The cure is plain: open the lid, even by a hand's width, and refresh. Many desk setups work this way by habit, and the habit is easy to forget.

An external webcam adds traps of its own. Some have a little shutter that is easy to leave closed, some need a firm port on the Mac rather than a hub, and some wake up only after being unplugged and plugged back in. When the built-in lens and the webcam are both present, macOS picks one, and the choice may not be yours. Unplug the one you are not using and refresh; that removes the guessing.

Phones can join the list. A nearby iPhone signed in to the same Apple account can be offered to the Mac as a camera, and if the phone lies face down in a drawer, the preview is dark. Take it out of range, or turn off its Continuity Camera option in its settings, and the built-in lens takes over again. A friend with a phone on a charging stand next to the laptop sees this more than most.

The microphone has the same split. The built-in one sits near the keyboard, but a monitor, a headset or a pair of earbuds can each take over as the input. Open System Settings, then Sound, then Input, speak a sentence, and watch which row moves its bars. Click the row you actually want, and Safari follows the Mac's choice from the next page load.

Blocks that come from above

Safari extensions, especially content blockers and privacy tools, sometimes interfere with pages that need the camera. The test takes a minute: in Safari Settings open Extensions, switch them all off, refresh, and see. Should the picture return, turn them back on one at a time until it vanishes, then give that extension an exception for this site instead of giving it up.

Screen Time and work management are the other source. Screen Time's content and privacy limits can switch off the camera for a whole user account, and a Mac issued by a school or an employer may have it locked by policy. Neither shows up in Safari's drop-downs, which is why the rows say Allow while the preview stays dark. In both cases the person who set the rules has to change them.

One more edge case is a page left open for days. Safari may keep an old camera session alive, and the preview freezes or goes black after the Mac wakes from sleep. Reloading is usually enough. When it is not, quit Safari fully, exactly as in the fifth step above, and start from a clean page.

Leftover puzzles

Will Safari ask me on every visit?

With Ask, yes: the question comes up whenever the page wants the devices, and choosing Allow in the drop-down ends it. With Allow, the page gets camera and mic straight away, so the dots in the menu bar are how you see that something is live.

What are the small coloured dots in the top right corner?

A green dot means some app is using a camera, and an orange dot means a microphone is in use. A dot lit when you expected nothing running points to another app holding the device, and closing that app is worth a try.

Does changing this setting touch any other site?

No. Each row in the Websites list belongs to one site. Only the last row, for sites you have not visited, sets the starting answer, and changing it affects only those future visits.

Do the same steps apply to other random chats in the browser?

They are about Safari, not about one site. Any video chat that lives in a browser, Yapping chat included, since it also works without an app install, asks Safari for the same two permissions and is controlled by the same drop-downs.

Is an iPhone different?

In the details, yes: the controls live in the phone's own Settings instead of the Safari menu on a Mac. The phone guide walks through that case.

Once the camera works, where next?

Return to the home or go on into the chat. Then, with the first hello still ahead, let the video take over the whole screen and see what your frame shows: the lamp, the shelf, the wall or door behind you.

A last pass over the setup

  • For this site, Safari's rows for camera and for microphone read Ask or Allow.
  • You refreshed the page after changing a row, and quit Safari once if the picture still froze.
  • The Mac's lid is open, and the camera you mean to use is the only one plugged in.
  • Under Sound, Input, the bars move when you speak.
  • Extensions were switched off while testing, or this site has an exception in them.
  • Nothing in frame is something you'd rather a stranger did not see; the safety page goes through which things to leave out of view.

Lens, microphone, lamp: all set

Both permissions are in order, the right camera is chosen, and the light is where you want it. Time to meet someone.

Start a conversation
Up we go