适用于ios的简单自定义视频播放器 [英] simple custom video player for ios

查看:447
本文介绍了适用于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.

这篇关于适用于ios的简单自定义视频播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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