简体   繁体   English

将 Vlc.DotNet 控件添加到工具箱

[英]Adding Vlc.DotNet controls to the toolbox

I am beginning development using the Vlc.DotNet project for my own applications.我开始使用 Vlc.DotNet 项目开发我自己的应用程序。

I grabbed Vlc.DotNet via the NuGet Package Manager and all 4 of the dlls are successfully listed as references.我通过 NuGet 包管理器获取了 Vlc.DotNet,所有 4 个 dll 都成功地列为引用。

I am trying to add the controls to the toolbox.我正在尝试将控件添加到工具箱中。

I have tried going through choose items..., browsing to the packages folder and selecting the dlls for Vlc.DotNet under the newest version of asp.net that is listed.我尝试过选择项目...,浏览到包文件夹并在列出的最新版本的 asp.net 下为 Vlc.DotNet 选择 dll。

But I get an error message saying that there are no controls in the dlls to add.但是我收到一条错误消息,说 dll 中没有要添加的控件。 I know this is quite incorrect.我知道这是非常不正确的。 So if anyone else has developed with Vlc.DotNet, some help would be very much appreciated.因此,如果其他人使用 Vlc.DotNet 进行开发,我们将非常感谢您的帮助。 I cannot figure out how to add its controls to the toolbox.我不知道如何将其控件添加到工具箱中。 Another article suggests drag and drop with the dlls, this does absolutely nothing.另一篇文章建议使用 dll 进行拖放,这绝对没有任何作用。

Ah, I believe all Vlc control operations are now managed through the "VlcControl" control which was located in the Vlc.DotNet.Forms dll啊,我相信所有 Vlc 控件操作现在都通过位于 Vlc.DotNet.Forms dll 中的“VlcControl”控件进行管理

The tutorials in the Vlc.DotNet are outdated, and do not represent this fact. Vlc.DotNet中的教程已经过时,不代表这个事实。

Its been a few years and I see that this question got some views, in the spirit of sharing my subjective knowledge...几年过去了,我看到这个问题得到了一些看法,本着分享我的主观知识的精神......

even though i eventually figured out VLC's quirks and accounted for them, I found that a better solution was to abandon VLC for a player like MPV player.尽管我最终找出了 VLC 的怪癖并解释了它们,但我发现更好的解决方案是放弃 VLC,转而使用 MPV 播放器这样的播放器。 its been pretty awesome.它非常棒。 its well supported, and vlc in any of its forms and forums was consistently rough to decipher and more importantly quirky.它得到了很好的支持,任何形式和论坛中的 vlc 一直难以破译,更重要的是古怪。

Not to be mean to vlc, but I am now of the opinion that MPV Player is a superior library.不是对 vlc 刻薄,但我现在认为 MPV Player 是一个出色的库。 I hope that can help some new people to embedded video players have some better luck.我希望能帮助一些新人对嵌入式视频播放器有一些更好的运气。 I know when I was learning to use these things, nothing ever pointed me towards other video players until i got fed up and went looking我知道当我学习使用这些东西时,在我厌倦并开始寻找之前,没有任何东西将我指向其他视频播放器

MPV Main Page MPV 主页

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM