WPF Media Element不是在XP中播放视频,而是在Vista中播放 [英] WPF Media Element is not playing videos in xp but it is playing in vista

查看:111
本文介绍了WPF Media Element不是在XP中播放视频,而是在Vista中播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在我的应用程序中,我正在使用WPF媒体元素并将媒体源添加到其中,当我们在Vista环境中运行时,它正在播放

视频,但是在xp操作系统中打开了相同的应用程序并运行它,我们无法观看视频.
这是什么问题
Xp-os?以及我们如何解决此问题.

如果有解决此问题的方法,请发布对此问题的解决方案.

我想知道我们可以在media元素中播放的文件格式是什么.并且让我们知道以下文件格式在
中播放
媒体播放器flv swf,youtube视频,avi,mpg,wmv等.



谢谢与问候

v.s.r.k.raju

Hi All,

In my application i am using the WPF media element and add the media source to it and when we running on vista environment it is playing

the video but the same application is opening in the xp operating system and run it, we can''t view the video. what is the problem here with

Xp-os?and how we resolve this problem.

if any ways to resolve this problem, please post solutions to this one.

and i want to know what are file formats we can play in the media element. and let we know the following file formats are played in the

media player flv swf, youtube video, avi, mpg, wmv etc..



Thanks and Regards

v.s.r.k.raju

推荐答案

确保已安装Windows Media Player 11和Media Player 9,您不能在mediaelement中播放视频.

我在xp中遇到了同样的问题,当我安装媒体播放器11时,我已经解决了这个问题.

您可以播放所有格式,但必须安装编解码器包.

对不起,我的英文,但我是意大利语:)
Make sure you have installed Windows Media Player 11, with Media Player 9 you can''t play video in mediaelement.

I had the same problem in xp, and when i have installed media player 11 I have solved this problem.

You can play all formats, but you must install a codec pack.

Sorry for my english, but I''m Italian :)


很可能您没有在XP中安装正确的媒体编解码器.根据版本和SKU的不同,Windows附带了许多编解码器.您选择的编解码器很可能在您的环境中不可用.
It is probable that you don''t have the right media codecs installed in XP. Depending on versions and SKU''s, Windows comes with a number of codecs. It is probable that the codec you selected is not available in your environment.


这篇关于WPF Media Element不是在XP中播放视频,而是在Vista中播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆