C#Webbrowser-element问题 [英] C# Webbrowser-element problem
问题描述
大家好,
我需要你对Webbrowser元素的帮助。
我做了一个播放youtube-links的程序媒体播放器。
所以你有几个URL指引你到youtube并播放视频。
自上次更新flashplayer以来它不再起作用了。
如果你试图开始这个链接:
Hi Guys,
I need your help with the Webbrowser element.
I made a program that plays youtube-links like a mediaplayer.
So you have serveral URLs that direct you to youtube and plays the video.
Since the last flashplayer update it doesn´t work anymore.
If you try for example to start this link:
webBrowser1.Navigate("http://www.youtube.com/watch?v=-yh6SriAjdE&feature=g-logo&context=G2dea9c8FOAAAAAAABAA");
视频正在加载,但中间有播放按钮。
但它应播放视频而无需点击。
你们有没有解决方案......
The video is loading but there is the play button in the middle.
But it should play the video without needing to be clicked.
Has anybody of you a solution...
推荐答案
你好b $ b
我认为这可能有所帮助你是
ASP.NET嵌入式视频播放器(YouTube™API,C#) [ ^ ]
谢谢,
Imdadhusen
Hi
I think this may help you
ASP.NET Embedded Video Player (YouTube™ API, C#)[^]
Thanks,
Imdadhusen
您好,
只需添加?autoplay = 1在youtube网址后面。
Hi,
just add ?autoplay=1 behind your youtube url.
webBrowser1.Navigate("http://www.youtube.com/embed/rdKFioMyieQ?autoplay=1");
最诚挚的问候,
$ b $bBjörn
With Best Regards,
Björn
这篇关于C#Webbrowser-element问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!