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 new playbackState "Ended" to Embed-API #2574

Closed
kantegory opened this issue Mar 25, 2020 · 1 comment
Closed

Add new playbackState "Ended" to Embed-API #2574

kantegory opened this issue Mar 25, 2020 · 1 comment

Comments

@kantegory
Copy link
Contributor

What happened?
It's just a suggestion.

We have now browser API for ended event: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/ended_event, but in PeerTube Embed-API we can handle just "playing", "paused" and "unstarted" playback states.

What do you expect to happen instead?
I think, it's can be useful in Embed-API, for example, for endless autoplay.

@Chocobozzz Chocobozzz added Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development Type: Feature Request ✨ labels Apr 2, 2020
@Chocobozzz Chocobozzz changed the title Suggestion: Add new playbackState "Ended" to Embed-API Add new playbackState "Ended" to Embed-API Apr 2, 2020
@Chocobozzz Chocobozzz added Component: Embed and removed Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development labels Apr 8, 2020
@Chocobozzz
Copy link
Owner

Added in 96aae68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants