我有一个 mp4 需要在页面中重复播放。
如何实现?
<MediaPlayerElement
Grid.Row="0"
Background="White"
Source="{x:Bind MovieSource}"
Width="900"
AutoPlay="True" >
</MediaPlayerElement>
我尝试使用 Storyboard,但发现 MediaTimeline
在 UWP 中不可用。
找不到可行的替代方案...
最佳答案
MediaPlayer MediaPlayerElement 类的属性有一个 IsLoopingEnabled属性(property)。
关于c# - UWP MediaPlayerElement - 如何循环/重复 mp4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52128282/