Changeset 181666 in webkit
- Timestamp:
- Mar 17, 2015, 3:12:46 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/ios/WebVideoFullscreenInterfaceAVKit.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r181665 r181666 1 2015-03-17 Jeremy Jones <jeremyj@apple.com> 2 3 When tab hides, pause fullscreen and exit normally. 4 https://bugs.webkit.org/show_bug.cgi?id=142685 5 6 Reviewed by Eric Carlson. 7 8 Pause fullscreen playback when switching tabs. Exit fullscreen is not necessary and even prevents 9 the normal flow of teardown. This allows the normal exit fullscreen call to succeed and call its callback. 10 11 * platform/ios/WebVideoFullscreenInterfaceAVKit.mm: 12 (WebVideoFullscreenInterfaceAVKit::requestHideAndExitFullscreen): 13 1 14 2015-03-17 Per Arne Vollan <peavo@outlook.com> 2 15 -
trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm
r181259 r181666 1155 1155 dispatch_async(dispatch_get_main_queue(), [strongThis] { 1156 1156 [strongThis->m_window setHidden:YES]; 1157 [strongThis->m_playerViewController exitFullScreenAnimated:NO completionHandler:[strongThis] (BOOL, NSError*) { 1158 }]; 1159 }); 1160 1161 if (m_videoFullscreenModel && !m_exitRequested) 1157 }); 1158 1159 if (m_videoFullscreenModel && !m_exitRequested) { 1160 m_videoFullscreenModel->pause(); 1162 1161 m_videoFullscreenModel->requestExitFullscreen(); 1162 } 1163 1163 } 1164 1164
Note:
See TracChangeset
for help on using the changeset viewer.