Html 如何从webview强制取消全屏播放视频?
我正在使用html在UIWebView中播放视频Html 如何从webview强制取消全屏播放视频?,html,ios,objective-c,webview,Html,Ios,Objective C,Webview,我正在使用html在UIWebView中播放视频 NSString *Str = @"<video controls> <source src=\"video_1.mp4\"> </video>"; NSString *path = [[NSBundle mainBundle] pathForResource:@"video_1" ofType:@"mp4"]; [self.webView loadHTMLString:Str baseURL:[NSURL f
NSString *Str = @"<video controls> <source src=\"video_1.mp4\"> </video>";
NSString *path = [[NSBundle mainBundle] pathForResource:@"video_1" ofType:@"mp4"];
[self.webView loadHTMLString:Str baseURL:[NSURL fileURLWithPath:path]];
NSString*Str=@”;
NSString*path=[[NSBundle mainBundle]pathForResource:@“mp4”类型的“video_1”;
[self.webView加载htmlstring:Str baseURL:[NSURL fileURLWithPath:path]];
用户可以在播放视频时全屏输入
但我想从全屏模式退出到正常模式
有没有办法做到这一点?播放时退出,还是要禁用全屏模式?是否使用任何播放器播放视频?播放时退出。。。我只是在播放时使用html.exit在webview中加载视频,还是要禁用全屏模式?是否使用任何播放器播放视频?播放时退出。。。我只是使用html在webview中加载视频。