MediaElement无法与多个监视器一起使用 [英] MediaElement not working with Multiple Monitors
问题描述
有人知道让WPF MediaElement在2台显示器的PC的辅助显示器上工作的方法吗?
Does anyone know of a way of getting the WPF MediaElement to work on the secondary monitor of a 2 monitor PC?
在我测试过的大多数计算机中(三分之二),当包含MediaElement的窗口从监视器上拖动到另一台计算机时,MediaElement停止工作.奇怪的是,直到整个窗口移至备用监视器 MediaElement停止播放.
On most (2 out of 3) computers I have tested this on, the MediaElement stops working when a window containing the MediaElement is dragged from on monitor to another. Strangely, it's not until the entire window is moved to the alternate monitor that the MediaElement stops playing.
我找不到有关此问题的其他报告,所以不确定是否:
I can't find other reports of this problem so I'm not sure whether:
1.几乎没有人在多台显示器PC上使用MediaElement
1. Hardly anyone uses the MediaElement on multiple monitor PC
2.它可以在大多数PC上运行,但我很不幸有2个无法运行.
2. It works on most PCs and I'm just unlucky to have 2 that it doesn't work on.
顺便说一句,Windows Media Player在两个显示器上都能正常工作.
BTW, Windows Media Player work fine on both monitors.
推荐答案
ghd,
根据您的描述,MediaElement在移至第二台监视器时将停止播放视频.如果我不在基地,请随时告诉我
Based on your descriptions the MediaElement stops playing video when moving to the second monitor. If I am off base please feel free to let me know
您可能会告诉我们一些信息,以便更好地了解您的问题.
There are some information you may let us know in order to get a better view of your problem.
- 您正在使用哪个版本的WPF,4.0或3.5?
- 第二台显示器上是否有异常?
- 请详细说明您的显示器/视频卡设置和视频格式.
- Which version of WPF you are using, 4.0 or 3.5?
- Is there anything abnormal on the 2nd monitor?
- Please kindly elaborate your monitor/video card setup and video format.
最诚挚的问候
这篇关于MediaElement无法与多个监视器一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!