播放YouTube视频窗口的形式 [英] Play youtube video in windows form

查看:805
本文介绍了播放YouTube视频窗口的形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

这篇关于播放YouTube视频窗口的形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆