Closed
Bug 527822
Opened 15 years ago
Closed 14 years ago
Throbber shown for media elements without any sources to load.
Categories
(Toolkit :: Video/Audio Controls, defect)
Toolkit
Video/Audio Controls
Tracking
()
RESOLVED
FIXED
People
(Reporter: Dolske, Assigned: Dolske)
References
Details
Attachments
(1 file)
4.94 KB,
patch
|
Details | Diff | Splinter Review |
Ehsan noticed that "<video controls></video>" results in a throbber being displayed. This doesn't seem good to me, the throbber is implying something is going on, when there's really no activity. I think we should just show the error icon for this condition. [If pages want to have empty media elements that have sources loaded by external triggers, they should disable the default controls when there's nothing available.] The patch here does that. The error icon will come up after a short delay, so that if there's script on the page that immediately triggers the load algorithm, we'll switch back to the throbber when loadstart fires (which should basically happen right away).
Comment 1•15 years ago
|
||
Comment on attachment 411566 [details] [diff] [review] Patch v.1 (WIP) >diff --git a/toolkit/content/widgets/videocontrols.xml b/toolkit/content/widgets/videocontrols.xml >- debug : false, >+ debug : true, Is this change intentional? Also, have you tried this patch with the audio/video control tests? I'm asking because those tests might be sensitive to this change... Oh, and I guess we can get some automated (ref)tests here as well just to make sure that this doesn't regress in the future.
Assignee | ||
Updated•14 years ago
|
Component: Video/Audio → Video/Audio Controls
Product: Core → Toolkit
QA Contact: video.audio → video.audio
Target Milestone: --- → mozilla1.9.2a1
Version: Trunk → unspecified
Assignee | ||
Updated•14 years ago
|
Target Milestone: mozilla1.9.2a1 → ---
Comment 2•14 years ago
|
||
This has been fixed by bug 505158.
You need to log in
before you can comment on or make changes to this bug.
Description
•