视频
2017-03-11 19:17:04 1 举报
视频播放
作者其他创作
大纲/内容
AVPlayerItem
AVPlayer
网络视频
本地视频
AVAsset *movieAsset = [AVURLAsset URLAssetWithURL:url options:nil]; _playerItem = [AVPlayerItem playerItemWithAsset:movieAsset];
[_player replaceCurrentItemWithPlayerItem:_playerItem]
_playerItem = [AVPlayerItem playerItemWithURL:url];
1.通过KVO 监听 播放状态\"status\" ,缓冲进度\"loadedTimeRanges\"
0 条评论
下一页