{"id":20313419,"url":"https://github.com/priore/avplayeroverlay","last_synced_at":"2025-04-11T17:07:27.618Z","repository":{"id":56901224,"uuid":"57419933","full_name":"priore/AVPlayerOverlay","owner":"priore","description":"AVPlayer with custom controls, full screen mode, subtitles (.srt), Picture-In-Picture and AirPlay features.","archived":false,"fork":false,"pushed_at":"2022-01-27T22:46:01.000Z","size":568,"stargazers_count":65,"open_issues_count":4,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-03-14T19:53:39.037Z","etag":null,"topics":["avplayer","avplayerviewcontroller","player-video","video-player"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/priore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"paypal.me/prioregroup"}},"created_at":"2016-04-30T00:09:47.000Z","updated_at":"2024-02-23T04:32:37.000Z","dependencies_parsed_at":"2022-08-21T02:50:48.993Z","dependency_job_id":null,"html_url":"https://github.com/priore/AVPlayerOverlay","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priore%2FAVPlayerOverlay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priore%2FAVPlayerOverlay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priore%2FAVPlayerOverlay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priore%2FAVPlayerOverlay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/priore","download_url":"https://codeload.github.com/priore/AVPlayerOverlay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248447375,"owners_count":21105134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avplayer","avplayerviewcontroller","player-video","video-player"],"created_at":"2024-11-14T18:11:00.999Z","updated_at":"2025-04-11T17:07:27.596Z","avatar_url":"https://github.com/priore.png","language":"Objective-C","funding_links":["paypal.me/prioregroup"],"categories":[],"sub_categories":[],"readme":"# AVPlayerOverlay\n\nAVPlayer with custom controls, full screen mode, subtitles (.srt), Picture-in-Picture and AirPlay features.\n\n**HOW TO USE :**\n\n* Put a Container View on your ViewController.\n\n![image](https://github.com/priore/AVPlayerOverlay/blob/master/images/step1.jpg)\n\n* Remove the ViewController that created automatically.\n\n![image](https://github.com/priore/AVPlayerOverlay/blob/master/images/step2.jpg)\n\n* Add a AVPlayerViewController.\n\n* Connect the AVPlayerViewController to the Container View, embedded mode.\n\n* Sets the AVPlayerViewController class to the AVPlayerVC custom class.\n\n![image](https://github.com/priore/AVPlayerOverlay/blob/master/images/step3.jpg)\n\n* Add a new ViewController.\n\n* Set the ViewController class to the AVPlayerOverlayVC custom class.\n\n* Set the storyboard identity to AVPlayerOverlayVC\n\n![image](https://github.com/priore/AVPlayerOverlay/blob/master/images/step4.jpg)\n\n* Put a View and Buttons and Slider inside this views for customize your controllers.\n\n* Put a Slider for volume control outside this last view, near volume button control.\n\n* Connect all controls interface of the viewcontroller.\n\n![image](https://github.com/priore/AVPlayerOverlay/blob/master/images/step5.jpg)\n\n* Set the constraints of the controls, and center the volume slider to the volume button.\u003cbr\u003e \n_note: the volume slider is automatically rotated._\n\n![image](https://github.com/priore/AVPlayerOverlay/blob/master/images/step6.jpg)\n\n* In your ViewController where is the Container View, put the code below.\n\n```objective-c\n\n#import \"AVPlayerVC.h\"\n\n@interface ViewController ()\n\n@property (nonatomic, weak) AVPlayerVC *playerVC;\n\n@end\n\n@implementation ViewController\n\n- (void)viewDidLoad\n{\n    [super viewDidLoad];\n    \n    self.playerVC.videoURL = [NSURL URLWithString:@\"http://your-video-url\"];\n}\n\n- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender\n{\n    if ([segue.destinationViewController isKindOfClass:[AVPlayerVC class]])\n        self.playerVC = segue.destinationViewController;\n}\n\n@end\n\n```\n\n\n**that's all !!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriore%2Favplayeroverlay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpriore%2Favplayeroverlay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriore%2Favplayeroverlay/lists"}