#import <AVKit/AVKit.h>
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@%@", Image_Base_URL, model.filepath]];
AVPlayerViewController *ctrl = [[AVPlayerViewController alloc] init];
ctrl.player= [[AVPlayeralloc]initWithURL:url];
[self presentViewController:ctrl animated:YES completion:nil];
外传:
如果要自定义视频图层,那就去自定义AVPlayer
AVPlayerLayer-AVPlayer-AVPlayerItem