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

Add Promise-based videoplayback #232

Open
kalaschnik opened this issue Apr 7, 2023 · 0 comments
Open

Add Promise-based videoplayback #232

kalaschnik opened this issue Apr 7, 2023 · 0 comments

Comments

@kalaschnik
Copy link
Member

kalaschnik commented Apr 7, 2023

This would simplify await code, for example:

From:

pinda.addEventListener('play', () => {
  isPlaying = true;
});
isPlaying = true;
pinda.src = url;

while (isPlaying) {
  await sleep(100);
}

To:

playPromiseVideo(url)
@NoemiThiede NoemiThiede moved this from Todo to Triage in ⛵️ MATT Board Apr 29, 2023
@kalaschnik kalaschnik moved this from Triage to Post Release (Later) in ⛵️ MATT Board May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Post Release (Later)
Development

No branches or pull requests

1 participant