skip to Main Content

My application is making API calls to Facebook and returning video URLs, for example:

https://video.xx.fbcdn.net/v/t43.1792-2/17641656_1853451031583994_2664925858824716288_n.mp4?efg=eyJybHIiOjI1OTIsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=2592&vabr=1728&oh=d503ccbcfe165a8cfc0436fb0a07078e&oe=58E04780

The video uses the H.264 codec.

Is there a way I can get this video to play from the URL in WPF without having to download the video locally?

2

Answers


  1. Yes you use MediaElement to display videos without downloading. Please check this url http://www.wpf-tutorial.com/audio-video/playing-video/

    Login or Signup to reply.
  2. Give a try on WebBrowser control.

    In xaml:

    <WebBrowser Name="wbSample"></WebBrowser>
    

    In CodeBehind:

    wbSample.Navigate("<<your url>>");
    

    Hope that helps.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search