是否可以获取VLC播放器布局,配有媒体播放器按钮和Seekbar等?

发布于 2025-02-12 15:47:41 字数 78 浏览 1 评论 0原文

如何正确使用VLC视频播放器。我希望视频使用暂停/简历按钮,Seekbar和玩家显示的一些默认功能。没有官方文件。您能协助我找到正确的一个吗?

How to properly use the VLC video player. I want the video to play with a pause/resume button, Seekbar, and some default features displayed on the player. There is no official documentation. Could you please assist me in locating the correct one?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小兔几 2025-02-19 15:47:41

用于Android的Libvlc不像埃克斯层。它不带有同伴UI类或类似的东西。因此,您必须为此构建自己的UI。

一个非常好的起点是使用超级服用器的UI并根据需要进行自定义。然后,您需要对按钮进行自己的绑定和听众。

LIBVLC将负责播放视频以及与任务相关的任何内容,但没有任何将用户互动委托的内容。您必须手动进行。

如果您面临控制和将LIBVLC使用的问题,则需要彻底检查Android的VLC代码。他们制造了一切开源,所以这已经是一件很棒的事情。检查 vlc android -repository

LibVLC for Android is not like ExoPlayer. It does not come with a companion UI class or anything like that. Therefore, you have to build your very own UI for it.

A very good starting point would be to use ExoPlayer's very own UI and customize it to your need. Then you need to do your own bindings and listeners for the buttons.

LibVLC will be responsible for playing the video and anything related to the task, but it does not have anything that delegates user interaction with it. You have to do it manually.

If you face issues controlling and putting LibVLC to use, then you need to thoroughly inspect the code of VLC for Android. They made everything open-source so that's already a great thing. Check VLC Android - Repository

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文