适用于ios的简单自定义视频播放器

问题描述:

我正在开发一个应用,其中我想展示有关如何使用该应用的教程.为此,需要一个自定义视频播放器,该视频播放器应该看起来很简单,只需一个播放/暂停按钮,一个搜寻器和一个停止按钮. 我尝试过一些视频播放器,例如"videoplayerkit".要使用此videoplayerkit,我必须安装cocoapods(libpods.a).如果有人通过我的自定义第三方视频播放器帮助我,这将非常有帮助.简而言之,我需要以下图片中的类似内容

I am developing an app in which I wanna show the tutorial on how to use the app. For that need a custom video player which should look simple with a single play/pause button, a seeker and a stop button. I have tried some video players like "videoplayerkit". To use this videoplayerkit I have to install cocoapods(libpods.a). It would be very helpful if anyone help me with a custom third party video player that satisfies my need. In short I need something like this in the picture below

如果您想查看自定义电影播放器​​的示例,可以尝试我创建的示例应用程序,该Xcode项目位于

You can try out an example app I created if you would like to see an example of a custom movie player, the Xcode project is at AVSync. This movie player looks exactly like the default iOS movie player, but you can have a look at the code to see how a custom set of controls can be made to control a movie player underneath. This example sits on top on a custom movie library, but the basic idea of creating your own controls and having them submit actions is the same no matter how you implement it.