-1

我不知道如何解释这一点,但它就是这样。

你见过使用 twebbrowser 并且只显示视频的帧(高度和宽度)的 delphi 代码吗?

我的意思是,如果我在 youtube 中浏览,twebbrowser 的小窗口将自行调整大小以适应 youtube 视频的视频大小。

即使对于其他有视频的网站,twebbrowser 也会自动调整自己的大小,就像网站的视频大小一样。

我希望你见过这样的代码,

谢谢

4

1 回答 1

2

I've seen something similar. If you use Adobe Flash to play the video, you could use Navigate to a URL directly to the .swf file and this would show the file sized to the size of your TWebBrowser component. If you also add what is needed to suppress the border of the TWebBrowser component, it might result in what you're looking for.

于 2013-07-07T21:11:53.047 回答