我使用屏幕捕捉软件创建了 .mov 视频文件,并希望在我的应用程序中使用 UIWebView 播放该视频。是否有任何方法可以播放该视频或任何其他方式,以便我可以为本地视频创建一个 URL?目前,我正在使用默认的视频链接来在 UIWebView 中播放视频。
以下是代码:
以下是代码:
- (void)applicationDidBecomeActive:(UIApplication *)application
{
self.viewVideoDisplay.frame = CGRectMake(0, 0, 1024, 1024);
[self.window addSubview:self.viewVideoDisplay];
[self.window bringSubviewToFront:self.viewVideoDisplay];
NSString *urlAddress = @"https://response.questback.com/pricewaterhousecoopersas/zit1rutygm/";
//Create a URL object.
NSURL *url = [NSURL URLWithString:urlAddress];
//URL Requst Object
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
//Load the request in the UIWebView.
[self.webViewVideo loadRequest:requestObj];
IsLoadingSelf = YES;
}
但是我没有想要播放的视频的网址..
请帮忙!!