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

Loop number option #682

Open
Agostino44 opened this issue Jan 22, 2025 · 0 comments
Open

Loop number option #682

Agostino44 opened this issue Jan 22, 2025 · 0 comments

Comments

@Agostino44
Copy link

Good morning,
is there a way to set the loop option in MediaOpeningEventArgs of the Mediaelement?
for example in cmd if you type "ffplay -i -loop 0 flames.gif", gif is played forever,
instead if you type "ffplay -i -loop 2 flames.gif", gif is played two times.
Is there a way to tell this at Mediaelement?
At the moment I intercept the MediaEnded event and count the executions.
Thank you.

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

No branches or pull requests

1 participant