Title: [179653] trunk/Source/WebCore
- Revision
- 179653
- Author
- [email protected]
- Date
- 2015-02-04 16:57:30 -0800 (Wed, 04 Feb 2015)
Log Message
[iOS] add method to toggle playback when in the background
https://bugs.webkit.org/show_bug.cgi?id=141270
Reviewed by Dean Jackson.
* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(-[WebAVPlayerController togglePlaybackEvenWhenInBackground:]): Added.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (179652 => 179653)
--- trunk/Source/WebCore/ChangeLog 2015-02-05 00:50:01 UTC (rev 179652)
+++ trunk/Source/WebCore/ChangeLog 2015-02-05 00:57:30 UTC (rev 179653)
@@ -1,3 +1,13 @@
+2015-02-04 Eric Carlson <[email protected]>
+
+ [iOS] add method to toggle playback when in the background
+ https://bugs.webkit.org/show_bug.cgi?id=141270
+
+ Reviewed by Dean Jackson.
+
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (-[WebAVPlayerController togglePlaybackEvenWhenInBackground:]): Added.
+
2015-02-04 Jer Noble <[email protected]>
[Mac][EME] Support ClearKey encryption with AES128-encrypted HLS
Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (179652 => 179653)
--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2015-02-05 00:50:01 UTC (rev 179652)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2015-02-05 00:57:30 UTC (rev 179653)
@@ -241,6 +241,11 @@
self.delegate->togglePlayState();
}
+- (void)togglePlaybackEvenWhenInBackground:(id)sender
+{
+ [self togglePlayback:sender];
+}
+
- (BOOL)isPlaying
{
return [self rate] != 0;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes