在ios4.0以前的version,使用uiwebview播放视频只需要;
但在ios4.0及以后,必须设置frame:
UIWebView *videoView = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,0,0)];
[self addSubview:videoView];
但在ios4.0及以后,必须设置frame:
UIWebView *videoView = [[UIWebView alloc] initWithFrame:CGRectMake(1,1,1,1)];
[self addSubview:videoView];