Is there a relatively easy way of looping a video in AVFoundation? I've created my AVPlayer and AVPlayerLayer like so: avPlayer = [[AVPlayer playerWithURL:videoUrl] retain]; avPlayerLayer = [[AVPlayerLayer playerLayerWithPlayer:avPlayer] retain]; avPlayerLayer.frame = contentView.layer.bounds; [contentView.layer addSublayer: avPlayerLayer]; and then I play my video with: [avPlayer play]; The video
OK, so.. on the iPhone you can playback movies and it is very very simple. (i really like how simple it is). However with that simplicity comes some pretty major drawbacks. Most of the drawbacks have to do with the fact that your program has very little control over how the movie gets played back. And the big one that seems to cause everyone much pain is the fact that you cannot loop your movies.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く