How to play video from web server

2 posts, 0 answers
  1. sachin
    sachin avatar
    4 posts
    Member since:
    Aug 2011

    Posted 05 Sep 2011 Link to this post


    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?
  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 08 Sep 2011 Link to this post

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

  3. DevCraft R3 2016 release webinar banner
Back to Top