Media element Rewind

巧了我就是萌 提交于 2019-11-28 11:15:15

问题


In my application, I play a video file using the MediaElement control, and I need to have fast forward and rewind options. For fast forward, I increased the SpeedRatio, but how can I implement fast rewind? I want to play the video in reverse (in appropriate speed ratio).


回答1:


You could set the MediaElement.ScrubbingEnabled property to true, and pause the MediaElement, and then periodically change its MediaElement.Position property backwards to mimic the rewinding behaviour.



来源:https://stackoverflow.com/questions/10880331/media-element-rewind

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!