Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTMLMediaElements#play() returns a promise #64

Open
1 task done
munizart opened this issue Sep 19, 2021 · 0 comments
Open
1 task done

HTMLMediaElements#play() returns a promise #64

munizart opened this issue Sep 19, 2021 · 0 comments
Labels
type: breaking change A change that requires a major version bump. type: enhancement A new feature or addition.

Comments

@munizart
Copy link

Prerequisites

  • Before opening an issue, please check the HTML standard (https://html.spec.whatwg.org). If it doesn't appear in this spec, it may be present in the spec for one of the other purescript-web projects. Although MDN is a great resource, it is not a suitable reference for this project.

Description

The method play form HTMLMediaElements returns a Promise<undefined>, but Web.HTML.HTMLMediaElement.play has signature HTMLMediaElement → Effect Unit.

https://html.spec.whatwg.org/#dom-media-play

@munizart munizart added the type: enhancement A new feature or addition. label Sep 19, 2021
@garyb garyb added the type: breaking change A change that requires a major version bump. label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: breaking change A change that requires a major version bump. type: enhancement A new feature or addition.
Projects
None yet
Development

No branches or pull requests

2 participants