Ios 如何在MPMoviePlayerController上播放https://url视频

Ios 如何在MPMoviePlayerController上播放https://url视频,ios,objective-c,iphone,ipad,Ios,Objective C,Iphone,Ipad,但它不起作用。并发送ssl错误。我认为MPmovieplayer的电影URL是“字符串”” 希望有帮助,你的网址是什么?您的url中的文件是否具有电影文件扩展名?是的,这是电影文件url https://您是否登录并通过试图从中传输视频的SSL服务器进行身份验证? I have a https:// base video url, Please let me know how to play video through MPMoviePlayerController. I use fol

但它不起作用。并发送ssl错误。

我认为MPmovieplayer的
电影URL是“字符串”


希望有帮助,你的网址是什么?您的url中的文件是否具有电影文件扩展名?是的,这是电影文件url https://您是否登录并通过试图从中传输视频的SSL服务器进行身份验证?
    I have a https:// base video url, Please let me know how to play video through MPMoviePlayerController.
I use following code:



MPMoviePlayerViewController * moviePlayer = [[MPMoviePlayerViewController alloc] initWithContentURL:movieUrl];
    [target presentMoviePlayerViewControllerAnimated:moviePlayer];
NSURL *url = [NSURL URLWithString:movieurl];

MPMoviePlayerViewController *moviePlayer = 
[[MPMoviePlayerViewController alloc] initWithContentURL:url];