使用早期版本的 WMP 在 WPF 中流式传输音频/视频?

发布于 2024-07-29 07:48:49 字数 289 浏览 3 评论 0原文

我正在为大型客户群开发 Wpf 应用程序,并且已经 刚刚发现需要 Windows Media Player 10+ 才能正确使用 我的表单中的 MediaElement XAML 类。 我个人不使用WMP, 所以我没有在我的系统中更新它(它是版本 9,所以 没有播放视频)。 我知道事实上很多客户都使用 替代解决方案,也可能无法传输视频 在这个应用程序中以这种方式。

我的问题是 - 我可以使用什么替代方案相当简单 且灵活,但可以在 XP 上使用早期版本的 WMP 吗?

I am developing a Wpf App for a large client base, and have
just found out that Windows Media Player 10+ is required in order to properly use the
MediaElement XAML class in my Form. I personally don't use WMP,
so I did not have it updated in my system (it was version 9, so
no video played). I know for a fact many of the clients use
alternative solutions and also may not be able to stream video
this way in this application.

My question is - what alternative can I use that is fairly easy
and flexible, but can work with earlier versions of WMP on XP?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

橘虞初梦 2024-08-05 07:48:49

尝试 http://wpfmediakit.codeplex.com 中的 MediaUriElemet

它不需要 WMP,但需要 .NET 3.5 SP1-

杰尔

Try my MediaUriElemet in http://wpfmediakit.codeplex.com

It does not require WMP, but does require .NET 3.5 SP1

-Jer

大姐,你呐 2024-08-05 07:48:49

我一直无法找到解决此问题的方法,因为 MediaElement 位于 WMP 播放器之上。

但是,就克服此问题的策略而言,我会将 WMP 10+ 作为我的部署包的一部分。 您可以将其设置为应用程序安装中的要求,从而确保所有用户都可以在应用程序中观看视频。

希望有帮助!

I haven't been able to find a way around this problem, as the MediaElement sits on top of the WMP player.

However, in terms of a strategy for overcoming this problem, I would include WMP 10+ as part of my deployment package. You can set it up as a requirement in your installation of your application and thus will ensure that all your users can view video in the app.

Hope that helps!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文