Didactic / Initiatives

Guide · AirTube

How to AirPlay YouTube from Safari on iPhone and iPad

The short answer. Safari cannot send the YouTube web player to AirPlay. You can use the YouTube app or Screen Mirroring. Or you can use AirTube, a Safari extension that plays YouTube in Safari's native video player, so the AirPlay button works.

Why the AirPlay button is missing for YouTube in Safari

On most websites, a video in Safari has an AirPlay button. When you tap it, Safari gives the video stream to your Apple TV, and the TV plays the stream by itself.

The YouTube web player works differently. It loads the video in small pieces through its own streaming code, and it puts the pieces into the page itself. A TV cannot play that stream without the YouTube page. So Safari has nothing to give to AirPlay. The AirPlay button is missing, or AirPlay works only as Screen Mirroring.

This is not a fault in your iPhone, your Wi-Fi, or your TV. It is how the YouTube website plays video.

The usual options, and what each one costs you

The YouTube app

The YouTube app has a Cast button that includes AirPlay. It works well. But some people prefer Safari. Some do not want another app. Some use Safari extensions or content blockers. Some are signed in to YouTube only in Safari. If you watch YouTube in Safari, you must change apps and find the video again.

Screen Mirroring

Open Control Center, tap Screen Mirroring, and choose your TV. The TV then shows your whole iPhone screen. This works with any app, but it has real downsides:

Method Stays in Safari? Full video quality on the TV? iPhone free to use?
YouTube app (Cast or AirPlay) No Yes Yes
Screen Mirroring Yes No No
AirTube Yes Yes, use Auto quality Yes

The AirTube way: AirPlay from Safari's native player

AirTube is a Safari Web Extension for iPhone, iPad, and Mac. On a YouTube video page, it replaces the YouTube player with Safari's native video player. The native player plays a stream that a TV can play by itself, so the AirPlay button appears and works. You can send the video to an Apple TV, to an AirPlay smart TV, or to an AirPlay speaker.

Because the TV plays the stream itself, it shows the real video, not a copy of your screen. Your notifications stay on your iPhone.

Step by step on iPhone and iPad

  1. Install AirTube and open it once. AirTube is coming soon to the App Store.
  2. Open Settings > Apps > Safari > Extensions > AirTube, and turn it on.
  3. Allow AirTube on www.youtube.com and m.youtube.com.
  4. In Safari, open a YouTube video. Safari's native player replaces the YouTube player.
  5. Tap the AirPlay button in the player, then choose your TV or speaker.

On a Mac

Open AirTube once. In Safari, choose Safari > Settings > Extensions, turn on AirTube, and allow it on www.youtube.com and m.youtube.com. Then open a video and click the AirPlay button in the player.

What else you get

Limits you should know

AirTube has a 7-day free trial. After the trial, a one-time $2.99 purchase unlocks it. There is no subscription. AirTube has no accounts and no ads, and its usage statistics are not linked to you. Read the AirTube privacy policy. AirTube is not affiliated with YouTube or Google.

Frequently asked questions

Why is there no AirPlay button for YouTube in Safari?

The YouTube web player sends video to the page in small pieces through its own streaming code. Safari can send a video to AirPlay only when it has a stream that the TV can play by itself. The YouTube web player does not give Safari that stream, so the AirPlay option is missing or works only as Screen Mirroring.

Can I AirPlay YouTube from Safari to a smart TV that is not an Apple TV?

Yes, if the TV supports AirPlay. Many recent smart TVs do. With AirTube, the TV shows in the AirPlay list in Safari's video player, the same as an Apple TV.

Does AirTube work with every YouTube video?

No. Some videos have no stream that Safari's native player can use. Some of these play at 360p with no quality choice and no captions. Others, such as age-restricted videos, keep the regular YouTube player. 1440p and 2160p may not play over AirPlay on all devices, so use Auto quality for AirPlay.

Does AirTube work on Mac?

Yes. AirTube works in Safari on iPhone, iPad, and Mac. On a Mac, turn it on in Safari > Settings > Extensions and allow it on www.youtube.com and m.youtube.com.

Does AirTube collect my data?

AirTube has no accounts and no ads. It sends only anonymous usage statistics that are not linked to you.