I decided to write a program with which, for example, you can watch videos from YouTube.

Is there any general algorithm for working with video in C #? Which libraries to use?

    2 answers 2

    If you do in the application WinForms, then the easiest way to use the component is WebBrowser and in it to reproduce the links to the video. Moreover, the links should be as in the embedded video. (code to insert on the web page). I do not see other ways.

    • In general, why I asked this about WebBrowser, yes, but let's say I don’t even know if this is possible, there is a website that broadcasts a TV channel, can I download this video from there in Windows Media Player in WinForms and show, that is make such a prog for watching tv radio. Perhaps you would recommend some book on working with audio and video in Sharp, because I haven’t found anything worthwhile yet. ( - arlek pm
    • four
      You can use the component [WindowsMediaPlayer] [1]. Found for you [interesting video] [2]. I think it will help. [1]: social.msdn.microsoft.com/Forums/en-RU/programminglanguageru ... [2]: youtube.com/watch?v=kg-z8JfOIKw - Jembo_by
    • thank) arlek
    • one
      great video, it helped)) I am surprised once again how everything is convenient and simple enough in Sharpy - arlek
    • 2
      There is no longer the merit of sisharp, but the .NET platform, which, when created, was designed to simplify the creation of custom applications for Windows. However, this simplicity creates greater competition among .NET programmers. After all, writing such applications is easy. Therefore, everyone should be able to do something more than drag and drop components onto the mold and write a couple of lines of code :). The answer is counted? :) - Jembo_by

    In addition to the previous answer, if you use the c # web browser, you are completely dependent on the version of Internet Explorer installed on your computer. For example, to view html5 video you need IE9 +. Accordingly, it is necessary when installing the application to set the compatibility mode with a higher version of ie.