我正在尝试从文件系统项目中的路径加载视频,我有 URL 流的代码
NSString *path = [[NSBundle mainBundle] pathForResource:@"US_Very_High_Dive_Boudia_US_44_x264" ofType:@"mp4"];
NSData *data = [[NSData alloc] initWithContentsOfFile:path];
MPMoviePlayerController *player =
[[MPMoviePlayerController alloc] initWithContentURL: myURL];