如何在Windows内部检索视频 [英] How to retrive a video inside windows froms
本文介绍了如何在Windows内部检索视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要存储一个视频文件,然后需要检索它。无论如何要使用文本文件来执行此操作吗?
我的意思是将文件路径存储在文本文件中,然后将该文本文件放在应用程序服务器中。可以这样做吗?
我点击时需要播放视频在任何单词或类似的东西上。
请帮助我........
谢谢......
Hi,
I need to store a video file and then need to retrieve it.Is there anyway to do this using a text file?
I mean storing the file path inside a text file and then place that text file in the application server.It is possible to do that way ?
I need to play the video when I click on any word or something like that.
Please help me........
Thank you...
推荐答案
无论我怎么理解你想要点击播放视频而你正在从文本文件中获取视频路径
我认为你必须使用Window Media Player组件。在对组件U进行参考后,在Ur窗口表格中选择工具窗口媒体播放器并在点击时为该播放器分配URL。
示例: -
axWindowsMediaPlayer1.URL = @c:\ mediafile.wmv;
Whatever I Understand That U Want To Play Video On Click And U Are Fetching Video Path From Text File
I Think U Have To Use Window Media Player Component For that.After Taking Refrence of component U Take The Tools Window Media Player On Ur windows form And assign Url For That Player On click.
example:--
axWindowsMediaPlayer1.URL = @"c:\mediafile.wmv";
这篇关于如何在Windows内部检索视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文