AVPlayer的控件 [英] Controls for AVPlayer

查看:76
本文介绍了AVPlayer的控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 AVPlayer 在我的iOS应用中显示视频。现在我需要一些漂亮的控件,用于上一个,下一个和播放/暂停按钮。默认情况下 AVPlayer 没有任何附件。

I am using AVPlayer to display video in my iOS app. Now I need some nice looking controls for previous, next and the play/pause button. By default AVPlayer doesn't come with any.

我想知道,那里有没有任何开源组件我可以直接用于这样的控件吗?我实际上只想要 MPMoviePlayerController 使用的相同控件。但我想这是不可能的,除非我完全伪造它们。

I am wondering, are there any open source components out there that I can directly use for such controls? I actually just want the same controls that MPMoviePlayerController uses. But I guess that is not possible, unless I counterfeit them completely.

我可以自己创造它们但我不想重新发明轮子。

I could create them myself but I don't want to re-invent the wheel.

推荐答案

这是一个非常好的。 BeamApp

Here is a really nice one. BeamApp

https://github.com/BeamApp/MusicPlayerViewController

这篇关于AVPlayer的控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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