简体   繁体   中英

UWP MediaPlayerElement - how to loop/repeat mp4

I have an mp4 that I need to repeat in a page.

How can this be achieved?

<MediaPlayerElement
    Grid.Row="0"
    Background="White"
    Source="{x:Bind MovieSource}"
    Width="900" 
    AutoPlay="True" >

</MediaPlayerElement>

I tried to use a storyboard but found out that MediaTimeline is not available in UWP.

Can't find a working alternative...

MediaPlayerElement类的MediaPlayer属性具有IsLoopingEnabled属性。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM