积极答复者
WPF中媒体播放器使用

问题
答案
-
问题1:不在于你的XP是否有Media Player,还是MediaElement在XP下的问题。
而在于Microsoft.WindowsAPICodePack是基于Windows 7/Vista开发,提供Win 7/Vista系统Shell一些功能,并不兼容在XP下工作。
http://archive.msdn.microsoft.com/WindowsAPICodePack
Requirements:
- Minimum .NET Framework version required to use this library is 3.5 SP1. The APIs for Shell Extensions require .NET 4.
- This library targets the Windows 7 RTM version, though many of the features will work on Windows Vista as well.
问题2:wpf有没有什么媒体播放器是xp、win7都可以运行的?
你通过DirectShow去开发你的播放器,他在XP也好Win 7也好都是基于DirextX,是可以都运行。参考 http://wpfmediakit.codeplex.com/ 组件
通过MediaElement, 只要XP也安装了Media Player,他也是可以运行的。
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
- 已标记为答案 Jie BaoModerator 2012年6月21日 10:42
全部回复
-
问题1:不在于你的XP是否有Media Player,还是MediaElement在XP下的问题。
而在于Microsoft.WindowsAPICodePack是基于Windows 7/Vista开发,提供Win 7/Vista系统Shell一些功能,并不兼容在XP下工作。
http://archive.msdn.microsoft.com/WindowsAPICodePack
Requirements:
- Minimum .NET Framework version required to use this library is 3.5 SP1. The APIs for Shell Extensions require .NET 4.
- This library targets the Windows 7 RTM version, though many of the features will work on Windows Vista as well.
问题2:wpf有没有什么媒体播放器是xp、win7都可以运行的?
你通过DirectShow去开发你的播放器,他在XP也好Win 7也好都是基于DirextX,是可以都运行。参考 http://wpfmediakit.codeplex.com/ 组件
通过MediaElement, 只要XP也安装了Media Player,他也是可以运行的。
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
- 已标记为答案 Jie BaoModerator 2012年6月21日 10:42