gpt4 book ai didi

objective-c - _itemFailedToPlayToEnd : { kind = 1; new = 2; old = 0; }

转载 作者:太空狗 更新时间:2023-10-30 03:32:40 24 4
gpt4 key购买 nike

我的视频无法播放

 // _itemFailedToPlayToEnd: 
{
kind = 1;
new = 2;
old = 0;
}

我的网址是

http://leuipe.fr.feedportal.com/c/3265/f/43169/s/2f1abb6/sc/35/l/0Lvideo0Blequipe0Bfr0Cvideo0Cd3b6e1d4cccs0Bhtml/story.htm

我的代码是

 movieURL=[NSURL URLWithString:[_dic valueForKey:kRssLink]];
NSLog(@"%@",movieURL);
player = [[MPMoviePlayerController alloc] init];

[player setContentURL:movieURL];
[player.view setFrame:CGRectMake (0, 100, 320, 476)];
[self.view addSubview:player.view];

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(moviePlayBackDidFinish:) name:MPMoviePlayerPlaybackDidFinishNotification object:player];

[player play];

最佳答案

我也遇到了同样的问题,

    _itemFailedToPlayToEnd: {
kind = 1;
new = 2;
old = 0;
}

但我已经修复了,没有文件位于给定的 URL 上。因此,请确保在给定的 URL 上有一个文件。

关于objective-c - _itemFailedToPlayToEnd : { kind = 1; new = 2; old = 0; },我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22527973/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com