Youtube Embeded Videos in Winforms

前端 未结 2 1112
心在旅途
心在旅途 2021-01-29 02:41

I have a c# Forms project in VisualStudio in which I want to embed a youtube video.

To do so, I add a web browser control in the designer.

The browser works fine

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-29 02:59

    Please visit YouTube Embedded Players and Player Parameters

    What you are trying here is an IFrame Embed. Try This: Open Notepad and paste it :