Closed Bug 1333062 Opened 9 years ago Closed 1 year ago

Play button breaks if I drag scrubber to the right twice

Categories

(Toolkit :: Video/Audio Controls, defect)

53 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox51 --- affected
firefox52 --- wontfix
firefox53 --- affected
firefox54 --- affected

People

(Reporter: hyacoub, Unassigned)

Details

[Affected versions]: Nightly 53.0a1 [Affected platforms]: All platforms: Windows 10 x 64, Ubuntu 16.04, Mac OS X 10.12 [Steps to reproduce]: 1. Launch Nightly 53.0a1 with a new profile and then open this link https://people-mozilla.org/~ralin/vtt/. 2. Move the video till the end. 3. Move the video to the center of timeline. 4. Move the video till the end again. 5. Click play. [Expected result]: The video should play. [Actual result]: The video won't play after clicking once on the play button. You have to click twice for the video to play.
Blocks: 1271765
OS: Unspecified → All
Hardware: Unspecified → All
By watching the log, it looks like the video.currentTime has been set to as same as video.duration after dragged to the end of scrubber, and supposedly video should trigger 'end' event to let video control know the video is end. The behavior is just equal to old implementation, so I'm wondering where could go wrong. Perhaps, there's still some buffered frames haven't been played yet... I'll look into this issue, keep NI flag.
Flags: needinfo?(ralin)
It's an interesting case(the length of video is 30.093061, but the scrubber only accurate to the third number of digits after decimal point ). I can reproduce this issue on Windows 10 with Firefox 47 as well. It seems that video control has never worked for this case, and I could not find a last good build. So, this issue might not be regressed by any, I think. Hani, could you verify that this issue affects only 53? or all versions? Thank you.
Flags: needinfo?(ralin) → needinfo?(hani.yacoub)
More information about debugging: When move the scrubber till the end: scrubber.value is 30.093 scrubber.duration is 30.093061 Still 0.000061 sec haven't been played yet...
it's actually affects all versions.
Flags: needinfo?(hani.yacoub)
Thank you Hani! This problem is fixable but perhaps should be put off after other higher priority bugs. I have no idea how many cases(or ratio) of videos would be affected by this problem or is there's any other video length with more digits after decimal point (i.e. 30.093061042 is technically possible). ----- Correction to comment 3: s/scrubber.duration/video.duration/
(In reply to Hani Yacoub from comment #4) > it's actually affects all versions. Thanks. Based on it, this bug isn't a regression of bug 1271765.
No longer blocks: 1271765
Too late for firefox 52, mass-wontfix.
Severity: normal → S3

Closing this as WFM as the link provided is no longer available. Please reopen if necessary.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.