UWP MediaPlayerElement-如何循环/重复播放mp4 [英] UWP MediaPlayerElement - how to loop/repeat mp4

查看:262
本文介绍了UWP MediaPlayerElement-如何循环/重复播放mp4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个mp4,需要在页面中重复播放.

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

如何实现?

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

</MediaPlayerElement>

我尝试使用情节提要,但发现MediaTimeline在UWP中不可用.

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

找不到可行的替代方案...

Can't find a working alternative...

推荐答案

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆