Changeset 187334 in webkit
- Timestamp:
- Jul 24, 2015, 1:23:12 AM (11 years ago)
- Location:
- branches/safari-601.1-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/ios/WebVideoFullscreenInterfaceAVKit.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-601.1-branch/Source/WebCore/ChangeLog
r187329 r187334 1 2015-07-24 Matthew Hanson <matthew_hanson@apple.com> 2 3 Merge r187036. rdar://problem/21901881 4 5 2015-07-20 Jeremy Jones <jeremyj@apple.com> 6 7 Allow video to rotate when app doesnt allow rotation. 8 https://bugs.webkit.org/show_bug.cgi?id=147121 9 10 Reviewed by Jer Noble. 11 12 Set an SPI bool on the fullscreen video root view controller to allow it to override app rotation restrictions. 13 This allows video to be played in landscape in portrait only apps. 14 15 * platform/ios/WebVideoFullscreenInterfaceAVKit.mm: 16 (WebVideoFullscreenInterfaceAVKit::setupFullscreen): 17 1 18 2015-07-24 Matthew Hanson <matthew_hanson@apple.com> 2 19 -
branches/safari-601.1-branch/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm
r187187 r187334 1023 1023 @end 1024 1024 1025 @interface UIViewController () 1026 @property (nonatomic, assign, setter=_setIgnoreAppSupportedOrientations:) BOOL _ignoreAppSupportedOrientations; 1027 @end 1028 1025 1029 void WebVideoFullscreenInterfaceAVKit::setupFullscreen(UIView& videoView, const WebCore::IntRect& initialRect, UIView* parentView, HTMLMediaElementEnums::VideoFullscreenMode mode, bool allowsPictureInPicturePlayback) 1026 1030 { … … 1041 1045 m_viewController = adoptNS([allocUIViewControllerInstance() init]); 1042 1046 [[m_viewController view] setFrame:[m_window bounds]]; 1047 [m_viewController _setIgnoreAppSupportedOrientations:YES]; 1043 1048 [m_window setRootViewController:m_viewController.get()]; 1044 1049 [m_window makeKeyAndVisible];
Note:
See TracChangeset
for help on using the changeset viewer.