⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 169090 in webkit


Ignore:
Timestamp:
May 19, 2014, 5:55:42 PM (12 years ago)
Author:
dino@apple.com
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.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r169089 r169090  
     12014-05-19  Dean Jackson  <dino@apple.com>
     2
     3        [iOS] Use status display for live streams
     4        https://bugs.webkit.org/show_bug.cgi?id=133097
     5
     6        Reviewed by Sam Weinig.
     7
     8        Follow-on from https://bugs.webkit.org/show_bug.cgi?id=131390
     9        Allow the iOS controls to use the status display field.
     10
     11        * Modules/mediacontrols/mediaControlsiOS.js:
     12        (ControllerIOS.prototype.configureInlineControls): Live streams should
     13        not have a timeline or rewind button.
     14
    1152014-05-19  Myles C. Maxfield  <litherum@gmail.com>
    216
  • trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js

    r168215 r169090  
    189189
    190190        this.controls.panel.appendChild(this.controls.playButton);
     191        this.controls.panel.appendChild(this.controls.statusDisplay);
    191192        this.controls.panel.appendChild(this.controls.timelineBox);
    192193        this.controls.panel.appendChild(this.controls.wirelessTargetPicker);
    193         this.controls.timelineBox.appendChild(this.controls.currentTime);
    194         this.controls.timelineBox.appendChild(this.controls.timeline);
    195         this.controls.timelineBox.appendChild(this.controls.remainingTime);
     194        if (!this.isLive) {
     195            this.controls.timelineBox.appendChild(this.controls.currentTime);
     196            this.controls.timelineBox.appendChild(this.controls.timeline);
     197            this.controls.timelineBox.appendChild(this.controls.remainingTime);
     198        }
    196199        if (!this.isAudio())
    197200            this.controls.panel.appendChild(this.controls.fullscreenButton);
Note: See TracChangeset for help on using the changeset viewer.