原因:视频URL配置不正确
(1)如果播放网络视频,则用[NSURL URLWithString:@"network url"];
(2)如果播放本地视频,则用[NSURL fileURLWithPath:@"file path"];
关于NSURL的这两个类方法,官方文档有解释
WebRep
currentVote
noRating
noWeight
原因:视频URL配置不正确
(1)如果播放网络视频,则用[NSURL URLWithString:@"network url"];
(2)如果播放本地视频,则用[NSURL fileURLWithPath:@"file path"];
关于NSURL的这两个类方法,官方文档有解释