Closed
Bug 1381375
Opened 8 years ago
Closed 7 years ago
Show proper error on video controls when the media source is not found (getting 404 response code)
Categories
(Toolkit :: Video/Audio Controls, defect, P4)
Toolkit
Video/Audio Controls
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: ralin, Assigned: ralin)
References
Details
Attachments
(1 file)
Instead of showing "Video format or MIME type is not supported" when the source is unreachable which is a bit misleading, we should consider a specific error message for not found error. As 1376004 will be landed soon, we'll get more informative error message from playback, and that would be something we can respect for the message on UI.
Assignee | ||
Comment 1•8 years ago
|
||
Hi Stephen,
Could you provide me some ideas about what to show on video control when the media source is not found? I was thinking something like "Video source is not found", but I guess it's not interpretive enough for users.
Thanks
Flags: needinfo?(shorlander)
Comment 2•7 years ago
|
||
Redirecting to Michelle since she is doing more of the writing for Firefox.
Flags: needinfo?(shorlander) → needinfo?(mheubusch)
Updated•7 years ago
|
Priority: -- → P4
Comment 3•7 years ago
|
||
Let's go with "Video not found" since the word "source" is a bit technical. Ralin, can you take this?
Flags: needinfo?(mheubusch) → needinfo?(ralin)
Assignee | ||
Comment 4•7 years ago
|
||
Sure, I have some spare time tomorrow, I'll work on it. Thanks.
Assignee: nobody → ralin
Flags: needinfo?(ralin)
Comment 5•7 years ago
|
||
Ray,
Do you think we can show the error in Bug 1411766 on the video control?
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
Bug 708150 addressed very similar issue. The discussions look solid to me as yet, so I didn't create new string for this.
Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8923281 [details]
Bug 1381375 - Show proper error message for 404 not found media source on video controls.
https://reviewboard.mozilla.org/r/194466/#review199682
::: toolkit/content/widgets/videocontrols.xml:769
(Diff revision 1)
> break;
> case v.error.MEDIA_ERR_DECODE:
> error = "errorDecode";
> break;
> case v.error.MEDIA_ERR_SRC_NOT_SUPPORTED:
> - error = "errorSrcNotSupported";
> + error = v.networkState == v.NETWORK_NO_SOURCE ? "errorNoSource" : "errorSrcNotSupported";
Can you wrap this a new line at the ? mark?
```
error = v.networkState == v.NETWORK_NO_SOURCE ?
"errorNoSource" :
"errorSrcNotSupported";
break;
```
Attachment #8923281 -
Flags: review?(jaws) → review+
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/5599898d9bad
Show proper error message for 404 not found media source on video controls. r=jaws
Keywords: checkin-needed
Comment 12•7 years ago
|
||
Backout by philringnalda@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a16cc603d061
Backed out changeset 5599898d9bad for failures in test_videocontrols_error.html
Comment 13•7 years ago
|
||
Wups, little slow on the copy-paste here, "for failures in test_videocontrols_error.html like https://treeherder.mozilla.org/logviewer.html#?job_id=140955251&repo=autoland"
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 15•7 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/56717feaa049
Show proper error message for 404 not found media source on video controls. r=jaws
Keywords: checkin-needed
![]() |
||
Comment 16•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•