Closed Bug 1293927 Opened 9 years ago Closed 9 years ago

media element returns empty seekable range when liveSeekable range is set and readyState is HAVE_NOTHING

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: jya, Assigned: jya)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As the title states. If the liveSeekable attribute is set, then the seekable attribute must return the liveseekable range. https://w3c.github.io/media-source/index.html#htmlmediaelement-extensions Note that there's nothing related to the readyState in the spec for the seekable attribute.
(In reply to Jean-Yves Avenard [:jya] from comment #0) > Note that there's nothing related to the readyState in the spec for the > seekable attribute. Why don't we just remove the check for |mReadyState > nsIDOMHTMLMediaElement::HAVE_NOTHING|?
Comment on attachment 8779627 [details] Bug 1293927: Always use MediaSource seekable range regardless of readyState. https://reviewboard.mozilla.org/r/70586/#review68264
Attachment #8779627 - Flags: review?(jwwang) → review+
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/27a5cf1e4476 Always use MediaSource seekable range regardless of readyState. r=jwwang
Blocks: 1294398
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: