Title: [204170] branches/safari-602-branch/Source/WebCore
Revision
204170
Author
[email protected]
Date
2016-08-05 09:20:23 -0700 (Fri, 05 Aug 2016)

Log Message

Merge r204159. rdar://problem/27669831

Modified Paths

Diff

Modified: branches/safari-602-branch/Source/WebCore/ChangeLog (204169 => 204170)


--- branches/safari-602-branch/Source/WebCore/ChangeLog	2016-08-05 16:20:21 UTC (rev 204169)
+++ branches/safari-602-branch/Source/WebCore/ChangeLog	2016-08-05 16:20:23 UTC (rev 204170)
@@ -1,5 +1,22 @@
 2016-08-05  Babak Shafiei  <[email protected]>
 
+        Merge r204159. rdar://problem/27669831
+
+    2016-08-04  Myles C. Maxfield  <[email protected]>
+
+            [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):
+
+2016-08-05  Babak Shafiei  <[email protected]>
+
         Merge r204128. rdar://problem/27592694
 
     2016-08-04  Jeremy Jones  <[email protected]>

Modified: branches/safari-602-branch/Source/WebCore/html/MediaElementSession.cpp (204169 => 204170)


--- branches/safari-602-branch/Source/WebCore/html/MediaElementSession.cpp	2016-08-05 16:20:21 UTC (rev 204169)
+++ branches/safari-602-branch/Source/WebCore/html/MediaElementSession.cpp	2016-08-05 16:20:23 UTC (rev 204170)
@@ -470,6 +470,8 @@
         return false;
 
 #if PLATFORM(IOS)
+    if (IOSApplication::isIBooks())
+        return !element.hasAttributeWithoutSynchronization(HTMLNames::webkit_playsinlineAttr) && !element.hasAttributeWithoutSynchronization(HTMLNames::playsinlineAttr);
     if (dyld_get_program_sdk_version() < DYLD_IOS_VERSION_10_0)
         return !element.hasAttributeWithoutSynchronization(HTMLNames::webkit_playsinlineAttr);
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to