Video starts playing after seeking to end

RESOLVED FIXED in mozilla9

Status

()

Core
Audio/Video
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: kinetik, Assigned: cajbir)

Tracking

Trunk
mozilla9
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
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.
(Reporter)

Comment 1

6 years ago
Once the video starts playing, if you seek a second time, the video is paused after seeking.
(Assignee)

Comment 2

6 years ago
Created attachment 562631 [details] [diff] [review]
Fix

Respect the state of the paused attribute after seeking.
Assignee: nobody → chris.double
Status: NEW → ASSIGNED
Attachment #562631 - Flags: review?(kinetik)
(Reporter)

Updated

6 years ago
Attachment #562631 - Flags: review?(kinetik) → review+
(Assignee)

Comment 3

6 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/7a0db9bd7c37
Target Milestone: --- → mozilla9
(Reporter)

Updated

6 years ago
Flags: in-testsuite?
https://hg.mozilla.org/mozilla-central/rev/7a0db9bd7c37
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Assignee)

Comment 5

6 years ago
Created attachment 563286 [details] [diff] [review]
Adds mochitest
Attachment #563286 - Flags: review?(kinetik)
(Reporter)

Updated

6 years ago
Attachment #563286 - Flags: review?(kinetik) → review+
(Assignee)

Comment 6

6 years ago
Pushed test (attachment 563286 [details] [diff] [review]):
https://hg.mozilla.org/integration/mozilla-inbound/rev/728784a13fb4
(Assignee)

Updated

6 years ago
Flags: in-testsuite? → in-testsuite+
OS: Linux → All
Hardware: x86_64 → All
https://hg.mozilla.org/mozilla-central/rev/728784a13fb4
(Reporter)

Updated

6 years ago
Duplicate of this bug: 701233
(Reporter)

Updated

6 years ago
Duplicate of this bug: 702571
(Reporter)

Updated

6 years ago
Duplicate of this bug: 545603
You need to log in before you can comment on or make changes to this bug.