Closed
Bug 775715
Opened 12 years ago
Closed 12 years ago
Video controls incorrectly using videoHeight
Categories
(Toolkit :: Video/Audio Controls, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: cpearce, Assigned: cpearce)
Details
Attachments
(1 file)
1.53 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
We have the following code in videocontrols.xml: // If we have metadata, check if this is a <video> without // video data, or a video with no audio track. if (this.video.readyState >= this.video.HAVE_METADATA) { if (this.video instanceof HTMLVideoElement && (this.video.videoWidth == 0 || this.videoHeight == 0)) this.isAudioOnly = true; That second last line should be: (this.video.videoWidth == 0 || this.video.videoHeight == 0)) i.e. s/this.videoHeight/this.video.videoHeight/
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #643991 -
Flags: review?(jaws)
Comment 2•12 years ago
|
||
Comment on attachment 643991 [details] [diff] [review] Patch Review of attachment 643991 [details] [diff] [review]: ----------------------------------------------------------------- D'oh! Thanks for catching this. I ran a search on MXR for any other instances of this.videoHeight (or this.videoWidth) and didn't see any other ones.
Attachment #643991 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/11b96d52903f
Target Milestone: --- → mozilla17
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/11b96d52903f
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•