在C#的https链接中播放mp4文件 [英] play mp4 file in https link in c#
问题描述
嗨
我有一个mp4文件,该文件嵌入到https链接中,例如
i have a mp4 file that embed in a https link such as
https://172.20.0.84:8446/recordedMedia/oramedia/mp4/93c4159257a643d1.mp4
https://172.20.0.84:8446/recordedMedia/oramedia/mp4/93c4159257a643d1.mp4
我想在Windows应用程序中播放此文件
i want to play this file in a windows application program
有人可以帮助我吗?
最好的问候
推荐答案
我使用此代码
i use this code
axWindowsMediaPlayer1.URL ="https://172.20.0.84:8446/recordedMedia/oramedia/mp4/93c4159257a643d1.mp4";
axWindowsMediaPlayer1.Ctlcontrols.play();
axWindowsMediaPlayer1.URL = "https://172.20.0.84:8446/recordedMedia/oramedia/mp4/93c4159257a643d1.mp4";
axWindowsMediaPlayer1.Ctlcontrols.play();
但是问题是它通知我有关证书问题,并且需要用户名/密码和密码
but the problem is that it notify me about certificate problem and need user/name and password
证书和用户/密码通过后,我的Windows Media Player将进入打开状态以运行文件,
after certificate and user/pass is proceed my windows media player is going to opening state for running the file,
但什么都没发生
这篇关于在C#的https链接中播放mp4文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!