2
Answers

How to display video file to Media element from web server

Sachin Kadam

Sachin Kadam

13y
1.6k
1
Hi,

here i m using follwoing code for play video :

string strFileName = m.VideName;
Uri VideoUri = new Uri(App.Current.Host.Source, strFileName);
meVideo.Source = VideoUri;
meVideo.AutoPlay = true;

above file is present on ClientBin folder, and path is display with browser "url/ClientBin/fileName.mp4" but its can't Play.


Can anyone tell me how this is done?


Answers (2)