1
我在UIWebView中播放了视频。在UIWebView中停止播放视频
我使用此代码
NSString *Str = @"<video controls width=458 height=202 poster=Image.png>
<source src=\"http://Path of the video/Video.mp4\"> </video>";
NSString *path = [[NSBundle mainBundle] pathForResource:@"Image"
ofType:@"png"];
[web loadHTMLString:Str baseURL:[NSURL fileURLWithPath:path]];
我可以停止暂停或停止视频,而无需在暂停按钮水龙头?
任何解决方案?