Windows Media Player 控件 - 获取/设置视频位置?
我在 C# WinForms 应用程序中使用 Windows Media Player ActiveX (axWindowsMediaPlayer) 组件。是否可以使用此控件获取和设置正在播放的视频的当前位置?
I am using Windows Media Player ActiveX (axWindowsMediaPlayer) component in C# WinForms application. Is it possible to get and set the current position of the video that is being played using this control?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
axWindowsMediaPlayer1.Ctlcontrols.currentPosition =positionInSeconds;
axWindowsMediaPlayer1.Ctlcontrols.currentPosition = positionInSeconds;