Closed Bug 686942 Opened 13 years ago Closed 13 years ago

Video starts playing after seeking to end

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: kinetik, Assigned: cajbir)

References

()

Details

Attachments

(2 files)

Open the testcase, use tab to switch focus to the video (first element), hit "end", then "home.  Video will start playing.

Per the spec, the video starts paused, so it should not start playing in this situation.  I suspect the code that deals with video ended in an unpaused state is causing the video to start playing when seeking to the end of the media.
Once the video starts playing, if you seek a second time, the video is paused after seeking.
Attached patch FixSplinter Review
Respect the state of the paused attribute after seeking.
Assignee: nobody → chris.double
Status: NEW → ASSIGNED
Attachment #562631 - Flags: review?(kinetik)
Attachment #562631 - Flags: review?(kinetik) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/7a0db9bd7c37
Target Milestone: --- → mozilla9
Flags: in-testsuite?
https://hg.mozilla.org/mozilla-central/rev/7a0db9bd7c37
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attached patch Adds mochitestSplinter Review
Attachment #563286 - Flags: review?(kinetik)
Attachment #563286 - Flags: review?(kinetik) → review+
Flags: in-testsuite? → in-testsuite+
OS: Linux → All
Hardware: x86_64 → All
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: