Skip to content

Loop number option #682

@Agostino44

Description

@Agostino44

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions