HTMLMediaElement.prototype.play() should return Promise

Issue #11998448 • Assigned to Jerry S.

Details

Author
Kagami R.
Created
May 12, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.16193
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Currently Edge returns undefined while Firefox and Chrome return Promise.

https://codepen.io/SaschaNaz/pen/eWrRMb

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Status to “By design”

    • Hello,

      Thank you for providing this information about the issue. A Microsoft Edge Extension does not support the promise model; please continue to use the callback model.
      https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/runtime#Edge_incompatibilities

      Currently, we do not plan to release a fix. Please update this case if you can provide new information for us to consider.

      Best Wishes,
      The MS Edge Team

    • Changed Status from “By design”

    • Hi James,

      I’m not talking about WebExtensions but talking about HTML specification. The HTMLMediaElement is the common interface of HTMLVideoElement () and HTMLAudioElement ().

    • Please check out the ‘Standard affected’ section.

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

    • Hello,

      Thank you for the update. Please provide a reduced sample which we can use to repro the problem.

      Best Wishes,
      The MS Edge Team

    • Sure, updating repro step.

    • Changed Steps to Reproduce

    • Microsoft Edge Team

      Changed Assigned To to “Travis L.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Jerry S.”

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

    Sign in