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:
- The TV shows everything. Notifications, messages, and other apps appear on the TV.
- Your iPhone must stay on. If you lock the screen or open another app, the TV shows that too, or the mirror stops.
- Lower quality. Your iPhone records its own screen and sends it over Wi-Fi. The picture is often softer than the real video, and it can stutter.
- Wrong shape. In portrait, the video is a small box in the middle of the TV.
- More battery. Your iPhone does all the work for the whole video.
| 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
- Install AirTube and open it once. AirTube is coming soon to the App Store.
- Open Settings > Apps > Safari > Extensions > AirTube, and turn it on.
- Allow AirTube on www.youtube.com and m.youtube.com.
- In Safari, open a YouTube video. Safari's native player replaces the YouTube player.
- 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
- Quality up to 4K when the video has it, or Auto.
- Speed from 0.25x to 2x, and captions in every language the video offers.
- Resume where you left off.
- Background play. The sound continues when Safari is in the background or the screen is locked. Read how to play YouTube in the background in Safari on iPhone.
- No "Open in YouTube" banner at the top of Safari on iPhone and iPad.
Limits you should know
- Not every video works. Some videos play at 360p with no quality choice and no captions. Others, such as age-restricted videos, keep the regular YouTube player.
- Use Auto quality for AirPlay. 1440p and 2160p use a format that your iPhone or Apple TV may not play over AirPlay.
- YouTube can change its site. If YouTube changes how it delivers video, some features can stop working until AirTube is updated.
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.