This is a migrated thread and some comments may be shown as answers.

How to play video from web server

1 Answer 40 Views
Upload
This is a migrated thread and some comments may be shown as answers.
sachin
Top achievements
Rank 1
sachin asked on 05 Sep 2011, 04:06 PM
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?

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 08 Sep 2011, 12:38 PM
Hi Sachin,

I wasn't able to reproduce the issue. Can you please have a look at the attached sample and let me know if I am missing something? Also, if this solution doesn't correctly illustrate your scenario, please modify it accordingly so that we can reproduce the issue locally and further investigate it. Thank you in advance.

Kind regards,
Tina Stancheva
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Upload
Asked by
sachin
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or