Title: [169090] trunk/Source/WebCore
Revision
169090
Author
[email protected]
Date
2014-05-19 17:55:42 -0700 (Mon, 19 May 2014)

Log Message

[iOS] Use status display for live streams
https://bugs.webkit.org/show_bug.cgi?id=133097

Reviewed by Sam Weinig.

Follow-on from https://bugs.webkit.org/show_bug.cgi?id=131390
Allow the iOS controls to use the status display field.

* Modules/mediacontrols/mediaControlsiOS.js:
(ControllerIOS.prototype.configureInlineControls): Live streams should
not have a timeline or rewind button.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (169089 => 169090)


--- trunk/Source/WebCore/ChangeLog	2014-05-20 00:45:52 UTC (rev 169089)
+++ trunk/Source/WebCore/ChangeLog	2014-05-20 00:55:42 UTC (rev 169090)
@@ -1,3 +1,17 @@
+2014-05-19  Dean Jackson  <[email protected]>
+
+        [iOS] Use status display for live streams
+        https://bugs.webkit.org/show_bug.cgi?id=133097
+
+        Reviewed by Sam Weinig.
+
+        Follow-on from https://bugs.webkit.org/show_bug.cgi?id=131390
+        Allow the iOS controls to use the status display field.
+
+        * Modules/mediacontrols/mediaControlsiOS.js:
+        (ControllerIOS.prototype.configureInlineControls): Live streams should
+        not have a timeline or rewind button.
+
 2014-05-19  Myles C. Maxfield  <[email protected]>
 
         Text decorations do not contribute to visual overflow

Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js (169089 => 169090)


--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js	2014-05-20 00:45:52 UTC (rev 169089)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js	2014-05-20 00:55:42 UTC (rev 169090)
@@ -188,11 +188,14 @@
         this.base.appendChild(this.controls.wirelessPlaybackStatus);
 
         this.controls.panel.appendChild(this.controls.playButton);
+        this.controls.panel.appendChild(this.controls.statusDisplay);
         this.controls.panel.appendChild(this.controls.timelineBox);
         this.controls.panel.appendChild(this.controls.wirelessTargetPicker);
-        this.controls.timelineBox.appendChild(this.controls.currentTime);
-        this.controls.timelineBox.appendChild(this.controls.timeline);
-        this.controls.timelineBox.appendChild(this.controls.remainingTime);
+        if (!this.isLive) {
+            this.controls.timelineBox.appendChild(this.controls.currentTime);
+            this.controls.timelineBox.appendChild(this.controls.timeline);
+            this.controls.timelineBox.appendChild(this.controls.remainingTime);
+        }
         if (!this.isAudio())
             this.controls.panel.appendChild(this.controls.fullscreenButton);
     },
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to