Hi,
i want to play video file in media element with set source runtime from web server path.
i am using following code :
String strVideoName="PoreotixAmericasBest.mp4";
Uri VideoUri = new Uri(App.Current.Host.Source, strVideoName );
myVideo.Source = VideoUri;
myVideo.Play();
i am using above code, but it's not working video not play.
If i set file name which is in "Client Bin" directory at design time then it's play.
anybody have a solution for set video file path dynamically at runtime replay me as soon as possible.
i want to play video file in media element with set source runtime from web server path.
i am using following code :
String strVideoName="PoreotixAmericasBest.mp4";
Uri VideoUri = new Uri(App.Current.Host.Source, strVideoName );
myVideo.Source = VideoUri;
myVideo.Play();
i am using above code, but it's not working video not play.
If i set file name which is in "Client Bin" directory at design time then it's play.
anybody have a solution for set video file path dynamically at runtime replay me as soon as possible.