[webkit-changes] [WebKit/WebKit] e89ce5: PIP video stops playing on YouTube & Twitch when n...

Dana Estra noreply at github.com
Tue Feb 11 09:55:35 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e89ce50ec340bb59a47001b448d97f6cbcccca98
      https://github.com/WebKit/WebKit/commit/e89ce50ec340bb59a47001b448d97f6cbcccca98
  Author: Dana Estra <destra at apple.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M Source/WebCore/html/HTMLMediaElement.cpp

  Log Message:
  -----------
  PIP video stops playing on YouTube & Twitch when navigating home
rdar://123869436
https://bugs.webkit.org/show_bug.cgi?id=287417

Reviewed by Jer Noble.

Twitch removes the video element when the user navigates back to the home
page while in PiP on iOS. When the video element is removed, we should
exit pip, otherwise the pip window is blank.

* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::selectMediaResource):

Canonical link: https://commits.webkit.org/290216@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list