Skip to content

Conversation

@armanbilge
Copy link
Member

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play

The spec says:

Browsers released before 2019 may not return a value from play()

So I made the return value js.UndefOr[js.Promise[Unit]].

@armanbilge armanbilge changed the title Fix #488 HTMLAudioElement.play should return Promise Fix #488 HTMLMediaElement.play() should return Promise Aug 15, 2021
@japgolly
Copy link
Contributor

Awesome @armanbilge LGTM

@japgolly japgolly merged commit 116cc24 into series/1.x Aug 20, 2021
@japgolly japgolly deleted the issue/488 branch August 20, 2021 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants