Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] YouTube does not provide an AirPlay button in fullscreen mode #23753

Conversation

jernoble
Copy link
Contributor

@jernoble jernoble commented Feb 2, 2024

@jernoble jernoble requested a review from cdumez as a code owner February 2, 2024 17:48
@jernoble jernoble self-assigned this Feb 2, 2024
@jernoble jernoble added the Media Bugs related to the HTML 5 Media elements. label Feb 2, 2024
@jernoble jernoble force-pushed the eng/iOS-YouTube-does-not-provide-an-AirPlay-button-in-fullscreen-mode branch from fc46aa7 to 70efd92 Compare February 2, 2024 18:04
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Feb 2, 2024
Copy link
Contributor

@brentfulgham brentfulgham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. r=me

if (!m_shouldDisableElementFullscreen) {
m_shouldDisableElementFullscreen = isDomain("vimeo.com"_s)
|| isDomain("instagram.com"_s)
|| isEmbedDomain("twitter.com"_s);
|| isEmbedDomain("twitter.com"_s)
|| (PAL::currentUserInterfaceIdiomIsSmallScreen() && (isDomain("youtube.com"_s) || isEmbedDomain("youtube.com"_s)));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so sad. :-(

@jernoble jernoble removed the merging-blocked Applied to prevent a change from being merged label Feb 2, 2024
@jernoble jernoble force-pushed the eng/iOS-YouTube-does-not-provide-an-AirPlay-button-in-fullscreen-mode branch from 70efd92 to f3ebfd4 Compare February 2, 2024 20:18
@jernoble jernoble force-pushed the eng/iOS-YouTube-does-not-provide-an-AirPlay-button-in-fullscreen-mode branch from f3ebfd4 to 889c537 Compare February 2, 2024 21:52
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Feb 3, 2024
@jernoble jernoble added merge-queue Applied to send a pull request to merge-queue and removed merging-blocked Applied to prevent a change from being merged labels Feb 5, 2024
https://bugs.webkit.org/show_bug.cgi?id=268634
rdar://121471373

Reviewed by Brent Fulgham and Aditya Keerthi.

Add a quirk to disable the Fullscreen API on YouTube.com (and youtube.com embeds).

* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDisableElementFullscreenQuirk const):

Canonical link: https://commits.webkit.org/274117@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/iOS-YouTube-does-not-provide-an-AirPlay-button-in-fullscreen-mode branch from 889c537 to f2404c1 Compare February 5, 2024 23:16
@webkit-commit-queue
Copy link
Collaborator

Committed 274117@main (f2404c1): https://commits.webkit.org/274117@main

Reviewed commits have been landed. Closing PR #23753 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit f2404c1 into WebKit:main Feb 5, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Media Bugs related to the HTML 5 Media elements.
Projects
None yet
6 participants