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?
Loading

Sachin KadamPosted Sep 5, 2011, 8:13 AM
Prabhu RajaPosted Sep 5, 2011, 6:41 AM
try this,
string strFileName = m.VideName;
Uri VideoUri = new Uri(App.Current.Host.Source, string.Format("../{0}", strFileName ));
meVideo.Source = VideoUri;
meVideo.AutoPlay = true;
---------------------------------------------
if this post helps you, then mark it as "Correct answer"