microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.28k stars 675 forks source link

Proposal: AnimatedVisualPlayer to have Loop property and/or PlaybackFinished event #7158

Open knightmeister opened 2 years ago

knightmeister commented 2 years ago

Proposal: AnimatedVisualPlayer to have Loop property and/or PlaybackFinished event

Summary

I propose adding a property for controlling looping, and an event to fire once Playback has finished.

Rationale

There is no way (that I can see) to control looping and playback at the moment, aside from using PlayAsync. This does not work well in a XAML environment. It would be nice to have a property for controlling the looping.

Scope

Capability Priority
Add a Loop property Must
Add a PlaybackFinished event Should

Important Notes

Open Questions

JoeTomkinson commented 1 year ago

Any update on a playback finished event would be really useful and would align functionality to most other media playing controls.