Changeset 204159 in webkit


Ignore:
Timestamp:
Aug 4, 2016, 7:35:28 PM (9 years ago)
Author:
mmaxfield@apple.com
Message:

[iOS] Some videos in iBooks erroneously go fullscreen
https://bugs.webkit.org/show_bug.cgi?id=160582
<rdar://problem/27669831>

Reviewed by Jon Lee.

No new tests because we can't currently mock the iBooks application bundle ID.

  • html/MediaElementSession.cpp:

(WebCore::MediaElementSession::requiresFullscreenForVideoPlayback):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r204154 r204159  
     12016-08-04  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        [iOS] Some videos in iBooks erroneously go fullscreen
     4        https://bugs.webkit.org/show_bug.cgi?id=160582
     5        <rdar://problem/27669831>
     6
     7        Reviewed by Jon Lee.
     8
     9        No new tests because we can't currently mock the iBooks application bundle ID.
     10
     11        * html/MediaElementSession.cpp:
     12        (WebCore::MediaElementSession::requiresFullscreenForVideoPlayback):
     13
    1142016-08-04  Michael Catanzaro  <mcatanzaro@igalia.com>
    215
  • trunk/Source/WebCore/html/MediaElementSession.cpp

    r203928 r204159  
    471471
    472472#if PLATFORM(IOS)
     473    if (IOSApplication::isIBooks())
     474        return !element.hasAttributeWithoutSynchronization(HTMLNames::webkit_playsinlineAttr) && !element.hasAttributeWithoutSynchronization(HTMLNames::playsinlineAttr);
    473475    if (dyld_get_program_sdk_version() < DYLD_IOS_VERSION_10_0)
    474476        return !element.hasAttributeWithoutSynchronization(HTMLNames::webkit_playsinlineAttr);
Note: See TracChangeset for help on using the changeset viewer.