【发布时间】:2012-10-27 03:14:47
【问题描述】:
我在 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]];
我可以在不点击暂停按钮的情况下停止暂停或停止视频吗?
有什么办法吗?
【问题讨论】:
标签: iphone objective-c ios ios4 uiwebview