HTMLMediaElement.seeking == false right after changing the HTMLMediaElement.currentTime

Issue #12581492 • Assigned to Nishant N.

Details

Author
Cool C.
Created
Jun 30, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Steps to reproduce the issue:

  • load the coolcmd.html from attached testcase
  • under the video you will see the text…

***** Expected *****

the text is “HTMLMediaElement.seeking == true”

***** Actual *****

the text is “HTMLMediaElement.seeking == false”

***** Explanation *****

steps performed by the testcase (see the F12 console for details):

  1. load the video using the MediaSource
  2. rewind to the beginning of the loaded video by changing the HTMLMediaElement.currentTime
  3. after the second step HTMLMediaElement.seeking == false, but it must be == true.
    (BTW subsequent changes of the “currentTime” correctly turns “seeking” to “true”)

quotes from the HTML5 standard https://html.spec.whatwg.org/multipage/media.html#dom-media-seek
When the user agent is required to seek to a particular new playback position in the media resource…

  1. Set the seeking IDL attribute to true.
  2. If the seek was in response to a DOM method call or setting of an IDL attribute, then continue the script. The remainder of these steps must be run in parallel.
  3. Await a stable state (queue a microtask).
  4. Set the seeking IDL attribute to false.

i.e. “seeking” must be == true until the script finishes.

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “Venkat K.”

    Changed Assigned To from “Venkat K.” to “Steve B.”

    Changed Assigned To from “Steve B.” to “Nishant N.”

You need to sign in to your Microsoft account to add a comment.

Sign in