Closed
Bug 1350852
Opened 7 years ago
Closed 7 years ago
Dispatch a specific event to cancel the throbber while resuming video decoder.
Categories
(Core :: Audio/Video: Playback, enhancement)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: kaku, Assigned: kaku)
References
Details
Attachments
(2 files)
In bug 1309494, we use the "canplay" event to cancel the throbber which was fine, however, in bug 1349097, we're going to resume a video decoder after the playback had ended, and this is not going to work because we won't dispatch the "canplay" anymore after the playback had ended. So, we need a rather specific event for canceling the throbber.
Assignee | ||
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8851899 [details] Bug 1350852 P1 - add a mozvideoonlyseekcompleted event; https://reviewboard.mozilla.org/r/124074/#review126648 ::: dom/media/MediaDecoderStateMachine.cpp:2402 (Diff revision 1) > // and fail the assertion in GetClock() since we didn't stop MediaSink. > mMaster->UpdatePlaybackPositionInternal(newCurrentTime); > } > > + // Dispatch a VideoOnlySeekCompleted event to notify JS video controller to > + // cancel the throbber UI. I want a neutral comment here without MDSM understanding the details of the video control. So you might want to say "dispatch an event so the UI can change in response to the end of video-only seek".
Attachment #8851899 -
Flags: review?(jwwang) → review+
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8851900 [details] Bug 1350852 P2 - use mozvideoonlyseekcompleted to cancel throbber while resuming video decoder; https://reviewboard.mozilla.org/r/124076/#review126650
Attachment #8851900 -
Flags: review?(jwwang) → review+
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8851900 [details] Bug 1350852 P2 - use mozvideoonlyseekcompleted to cancel throbber while resuming video decoder; https://reviewboard.mozilla.org/r/124076/#review126876
Attachment #8851900 -
Flags: review?(jaws) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 8•7 years ago
|
||
Thanks for the review!
Pushed by tkuo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/094dc48011f4 P1 - add a mozvideoonlyseekcompleted event; r=jwwang https://hg.mozilla.org/integration/autoland/rev/fdb359af3621 P2 - use mozvideoonlyseekcompleted to cancel throbber while resuming video decoder; r=jaws,jwwang
Comment 10•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/094dc48011f4 https://hg.mozilla.org/mozilla-central/rev/fdb359af3621
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•