Skip to content

Instantly share code, notes, and snippets.

@ramamilaneh
Created April 2, 2017 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramamilaneh/768b4970b9f80586879d8bf890f8a70c to your computer and use it in GitHub Desktop.
Save ramamilaneh/768b4970b9f80586879d8bf890f8a70c to your computer and use it in GitHub Desktop.
#import "VideoView.h"
#import <AVFoundation/AVFoundation.h>
@interface VideoView ()
@property (nonatomic, strong) AVPlayer *player;
@property (nonatomic, strong) AVPlayerLayer *playerLayer;
- (void)videoFinishedPlaying:(NSNotification *)notification;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment