播放YouTube视频窗口的形式形式、窗口、视频、YouTube

2023-09-04 02:01:20 作者:空山心雨

我是新来点网,有一个任务来完成。我不知道如何下手。

I'm new to dot net and have a task to complete. I don't know how to start.

我的提问:应该有一个YouTube视频在我的Windows窗体。当用户点击播放按钮构成应该得到刷新,并打印1人观看的视频播放。同样用户可以重复这个过程,他可以再次点击播放按钮,它会得到刷新。现在这个时候,你将再次看到视频以及文本2人看。 基本上,它是维持击中播放按钮的计数器。

My Question: There should be a youtube video on my windows form. As a user clicks the play button that form should get refreshed and prints "1 person viewed" with the video playing. similarly user can repeat the process: he can again hit the play button and it will get refreshed. Now this time you will again see the video along with the text "2 person viewed". Basically, it's maintaining a counter of hitting the play button.

我无法找到谷歌有关的事。我不知道我怎么会嵌入到视频的形式。

I'm unable to find anything regarding this on Google. I don't know how I will embed that video into the form.

推荐答案

看这里将YouTube到Winform的。只要使用他们的榜样。我希望这帮助。

Look here add youtube to winform. Just use their example. I hope this help.