通过播放视频文件wpf媒体元素的上下文菜单..... [英] context menu through play video file wpf media element.....

查看:72
本文介绍了通过播放视频文件wpf媒体元素的上下文菜单.....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在WPF中创建了媒体播放器,并且该媒体播放器的所有功能均正常运行
但问题在于
如果我右键单击任何视频文件并用媒体播放器打开,这一次我的媒体播放器仅控制台闪烁,即不播放视频文件.



那我该怎么办.........

请按照以下步骤操作,以完全符合我的需求:

i have created media player in WPF and also this media player all functionality working properly
but problem is that
if i right click on any video file and open with my media player this time my media player only console blink i.e not playing video file.



so what should i do.........

follow this steps to exactly what i want :

hello sir
my question is that in my computer drive for eg:D:\myfile.avi(choose any video file in from your PC)
if i right click on this file ,context menu will be open and we have to display
play with VLC media player etc
and OPEN WITH option also showing there if i browse D:\myfile.avi file this file i want to open in my media player i.e wpf MEDIA ELEMENT

推荐答案

您的问题仍然没有完全清楚,但我有这篇文章 [ ^ ]可能至少提供了您想要的内容.
Your question is still not totally clear, but I have a feeling this article[^] may offer at least part of what you want.




你能解释一下你怎么做吗? Bcoz现在我也在努力.如果可以的话,这对我很有帮助.

谢谢,
索拉(Saurabh)


can you explain how you do it? Bcoz right now i m also working on it. If you can than it''s very helpful for me.

Thanks,
Saurabh


这篇关于通过播放视频文件wpf媒体元素的上下文菜单.....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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