Closed Bug 1322087 Opened 8 years ago Closed 8 years ago

When finish playback, Spinner is spinning for a while. And finally "The media could not be played." display

Categories

(Core :: Audio/Video: Playback, defect)

53 Branch
x86
Windows 10
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla53
Tracking Status
firefox50 --- unaffected
firefox51 --- unaffected
firefox52 + verified
firefox53 + verified

People

(Reporter: alice0775, Assigned: jwwang)

References

Details

(Keywords: regression)

Attachments

(7 files)

[Tracking Requested - why for this release]: unable to playback twitter video due to "The media could not be played." Build identifier: https://hg.mozilla.org/mozilla-central/rev/6bdef7ba8b4108a996b9f61ef9f81c5ea6c93017 Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 ID:20161204030210 The problem occur with/without e10s. It occurs when you explicitly start playing by clicking the video. (i.e., playback with audio). Reproducible : always Steps to reproduce: 1. Open twitter (e.g, https://twitter.com/shlml/status/805428754864427008 ) 2. Start to playback the video by click on the video 3. Wait to finish the video 3. Playback again if any Actual Results: When finish playback, Spinner is spinning fo a while. And finally "The media could not be played." display Expected Results: Playback button[>] should display
Expected Results: Repeat button in video controls should display
Blocks: 1314219
Summary: When finish playback, Spinner is spinning fo a while. And finally "The media could not be played." display → When finish playback, Spinner is spinning for a while. And finally "The media could not be played." display
Attached file about:suppot
Attached image screenshot
It is not really a regression but it reveals a bug that is less likely to happen before bug 1314219.
Flags: needinfo?(jwwang)
Assignee: nobody → jwwang
Comment on attachment 8817113 [details] Bug 1322087. Part 2 - move readyState to HAVE_ENOUGH_DATA when we have no more data to fetch. https://reviewboard.mozilla.org/r/97546/#review97908
Comment on attachment 8817113 [details] Bug 1322087. Part 2 - move readyState to HAVE_ENOUGH_DATA when we have no more data to fetch. https://reviewboard.mozilla.org/r/97546/#review97910 Cancel review.
Attachment #8817113 - Flags: review-
Comment on attachment 8817112 [details] Bug 1322087. Part 1 - move |if (!mFirstFrameLoaded)| up to save some duplicate checks. https://reviewboard.mozilla.org/r/97544/#review97912
Attachment #8817112 - Flags: review?(cpearce) → review+
Comment on attachment 8817113 [details] Bug 1322087. Part 2 - move readyState to HAVE_ENOUGH_DATA when we have no more data to fetch. https://reviewboard.mozilla.org/r/97546/#review97916
Attachment #8817113 - Flags: review?(cpearce) → review+
Comment on attachment 8817419 [details] Bug 1322087. Part 3 - allow MediaResoure::Tell() to be called on the main thread. https://reviewboard.mozilla.org/r/97696/#review98108
Attachment #8817419 - Flags: review?(cpearce) → review+
Comment on attachment 8817420 [details] Bug 1322087. Part 4 - enable some test in mediasource-endofstream.html. https://reviewboard.mozilla.org/r/97698/#review98110
Attachment #8817420 - Flags: review?(cpearce) → review+
Thanks!
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa8864946562 Part 1 - move |if (!mFirstFrameLoaded)| up to save some duplicate checks. r=cpearce https://hg.mozilla.org/integration/autoland/rev/f988f0ed610f Part 2 - move readyState to HAVE_ENOUGH_DATA when we have no more data to fetch. r=cpearce https://hg.mozilla.org/integration/autoland/rev/8ded70fe7212 Part 3 - allow MediaResoure::Tell() to be called on the main thread. r=cpearce https://hg.mozilla.org/integration/autoland/rev/fa4c79383dbe Part 4 - enable some test in mediasource-endofstream.html. r=cpearce
(In reply to JW Wang [:jwwang] [:jw_wang] from comment #5) > It is not really a regression but it reveals a bug that is less likely to > happen before bug 1314219. Since bug 1314219 makes this issue more likely to happen, we will need uplift the changes to Aurora(52).
Flags: needinfo?(jwwang)
tracking for 52 per comment 24
Approval Request Comment [Feature/Bug causing the regression]:1322087 [User impact if declined]:Some Twitter videos can't be played again when playback reaches the end. [Is this code covered by automated tests?]:Yes. [Has the fix been verified in Nightly?]:Yes. [Needs manual test from QE? If yes, steps to reproduce]: Described in comment 0. [List of other uplifts needed for the feature/fix]:None. [Is the change risky?]:Low risk. [Why is the change risky/not risky?]:The change is simple and easy to test/verify. [String changes made/needed]:None.
Flags: needinfo?(jwwang)
Attachment #8818807 - Flags: review+
Attachment #8818807 - Flags: approval-mozilla-aurora?
Comment on attachment 8818807 [details] [diff] [review] 1322087_fix_aurora52.patch fix video playback issue in aurora52
Attachment #8818807 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
It would be nice to get verification on this once it lands in aurora, with STR in comment 0.
Flags: qe-verify+
Tested on Windows 10, Mac 10.10 and Ubuntu 16.04 with FF Nighlty 53.0a1(2016-12-29) and I can confirme the fix, the issue is no longer reproducible.
I have reproduced this issue using Firefox 53.0a1 (2016.12.04) on Win 10 x86. I can confirm this issue is fixed, I verified using Firefox 52.0b4, on Win 10 x86 and Windows 8.1 x64.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Blocks: 1390443
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: