Implement isPictureInPictureInterrupted.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Aug 2015 17:09:05 +0000 (17:09 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Aug 2015 17:09:05 +0000 (17:09 +0000)
commit74b5a98d623af99f6762d17b4e2596b55f33338e
tree72c08253876a51691f03817e70453edba99eb879
parent5ea0b368e82053b3ca2a44dcf86c72747011655c
Implement isPictureInPictureInterrupted.
https://bugs.webkit.org/show_bug.cgi?id=147620

Patch by Jeremy Jones <jeremyj@apple.com> on 2015-08-04
Reviewed by Eric Carlson.

Implement isPictureInPictureInterrupted so setting the property to true pauses playback.
This allows PiP to pause when the device is locked while the app is suspended.

* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(-[WebAVPlayerController init]):
(-[WebAVPlayerController isPictureInPictureInterrupted]):
(-[WebAVPlayerController setPictureInPictureInterrupted:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm