All Projects → priore → Avplayeroverlay

priore / Avplayeroverlay

Licence: mit
AVPlayer with custom controls, full screen mode, subtitles (.srt), Picture-In-Picture and AirPlay features.

Projects that are alternatives of or similar to Avplayeroverlay

Bmplayer
A video player for iOS, based on AVPlayer, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles.
Stars: ✭ 1,736 (+2842.37%)
Mutual labels:  video-player, avplayer
Abmediaview
Media view which subclasses UIImageView, and can display & load images, videos, GIFs, and audio and from the web, and has functionality to minimize from fullscreen, as well as show GIF previews for videos.
Stars: ✭ 79 (+33.9%)
Mutual labels:  video-player, avplayer
Arplayer
Playback videos using ARKit and AVFoundation.
Stars: ✭ 117 (+98.31%)
Mutual labels:  video-player, avplayer
Sjvideoplayer
iOS VideoPlayer MediaPlayer video player media player 短视频播放器 可接入 ijkplayer aliplayer alivodplayer plplayer
Stars: ✭ 2,066 (+3401.69%)
Mutual labels:  video-player, avplayer
AVPlayer-SwiftUI
Using AVPlayer in SwiftUI
Stars: ✭ 204 (+245.76%)
Mutual labels:  video-player, avplayer
Versaplayer
Versatile Video Player implementation for iOS, macOS, and tvOS
Stars: ✭ 608 (+930.51%)
Mutual labels:  video-player, avplayer
Vgplayer
📺 A simple iOS video player by Vein.
Stars: ✭ 383 (+549.15%)
Mutual labels:  video-player, avplayer
Kjplayerdemo
视频播放壳子:动态切换内核,支持边下边播边缓存的播放器方案,视频支持格式:mp4、m3u8、wav、avi,音频支持格式:midi、mp3
Stars: ✭ 60 (+1.69%)
Mutual labels:  video-player, avplayer
Fijkplayer
ijkplayer for flutter. ijkplayer 的 flutter 封装。 Flutter video/audio player. Flutter media player plugin for android/iOS based on ijkplayer. fijkplayer 是基于 ijkplayer 封装的 flutter 媒体播放器,开箱即用,无需编译 ijkplayer
Stars: ✭ 943 (+1498.31%)
Mutual labels:  video-player
Vue Mini Player
基于Vue的一个轻量级HTML5视频播放器,适配PC和移动端
Stars: ✭ 34 (-42.37%)
Mutual labels:  video-player
Fluttertianyue
基于Flutter的超完整仿腾讯动漫,小说阅读,抖音视频项目,功能丰富,适合学习和日常使用,拥有较好的项目结构&比较规范的代码!Flutter入门,看这个就够了~Flutter project which provide richer functionality, if you want to learn flutter, this project is a good choice
Stars: ✭ 871 (+1376.27%)
Mutual labels:  video-player
Videoplayer
AVPlayer control and monitoring made easy (with Rx)
Stars: ✭ 29 (-50.85%)
Mutual labels:  avplayer
Pano.gl
Equirectangular video/image viewer based on WebGL.
Stars: ✭ 42 (-28.81%)
Mutual labels:  video-player
React Itinerary
Render react components based on time sequences such as video or audio files.
Stars: ✭ 13 (-77.97%)
Mutual labels:  video-player
Ngx Videogular
The HTML5 video player for Angular 2 and successor to videogular2
Stars: ✭ 50 (-15.25%)
Mutual labels:  video-player
Abplayerhtml5
Video Player for danmaku comments. ABPlayer in HTML5. ABPlayer核心构件以动态HTML编写的版本。向HTML5进发!HTML5弹幕播放器
Stars: ✭ 858 (+1354.24%)
Mutual labels:  video-player
Drm wv fp player
Few of the resources from flutter plugin video_player
Stars: ✭ 19 (-67.8%)
Mutual labels:  video-player
Scriptplayer
ScriptPlayer is a video player that controls the Fleshlight Launch, The Handy and lots of other toys in sync with videos.
Stars: ✭ 59 (+0%)
Mutual labels:  video-player
Unity Videoplayer Helper
Simple helper for the Video Player in Unity
Stars: ✭ 49 (-16.95%)
Mutual labels:  video-player
Mcplayerkit
MCPlayerKit is iOS Player, PlayerCoreType: AVPlayer can use play some video, IJKPlayer type can play video, Live ...
Stars: ✭ 34 (-42.37%)
Mutual labels:  avplayer

AVPlayerOverlay

AVPlayer with custom controls, full screen mode, subtitles (.srt), Picture-in-Picture and AirPlay features.

HOW TO USE :

  • Put a Container View on your ViewController.

image

  • Remove the ViewController that created automatically.

image

  • Add a AVPlayerViewController.

  • Connect the AVPlayerViewController to the Container View, embedded mode.

  • Sets the AVPlayerViewController class to the AVPlayerVC custom class.

image

  • Add a new ViewController.

  • Set the ViewController class to the AVPlayerOverlayVC custom class.

  • Set the storyboard identity to AVPlayerOverlayVC

image

  • Put a View and Buttons and Slider inside this views for customize your controllers.

  • Put a Slider for volume control outside this last view, near volume button control.

  • Connect all controls interface of the viewcontroller.

image

  • Set the constraints of the controls, and center the volume slider to the volume button.
    note: the volume slider is automatically rotated.

image

  • In your ViewController where is the Container View, put the code below.

#import "AVPlayerVC.h"

@interface ViewController ()

@property (nonatomic, weak) AVPlayerVC *playerVC;

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    self.playerVC.videoURL = [NSURL URLWithString:@"http://your-video-url"];
}

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    if ([segue.destinationViewController isKindOfClass:[AVPlayerVC class]])
        self.playerVC = segue.destinationViewController;
}

@end

that's all !!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].