简体   繁体   English

C#-Windows窗体-媒体播放器

[英]C# - Windows Forms - Media Player

I am a creating a movie theater program that blanks other screens and plays movie file on 3rd monitor (TV). 我正在创建一个电影院程序,该程序使其他屏幕空白并在第3台显示器(TV)上播放电影文件。 Does anyone have a suggestion for a media player. 有没有人对媒体播放器有建议? Media Player is giving a ActiveX error and I do not want the border with the play pause and fast forward buttons etc. It is windows forms so I don't have Media Element. Media Player出现ActiveX错误,我不希望播放暂停和快进按钮等带有边框。它是Windows窗体,所以我没有Media Element。 Any suggestions for a different media player. 对于其他媒体播放器的任何建议。 Thanks! 谢谢!

You can change Media player uimode property to none 您可以将媒体播放器的 uimode属性更改为none

player.uiMode = "none";

Windows Media Player is embedded without controls, and with only the video or visualization window displayed. Windows Media Player嵌入时没有控件,并且仅显示视频或可视化窗口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM