0
我有一个UIWebView,它包含一个extrenal iframe(对于youtube和vimeo)
有时它只是不加载。ios UIWebview外部iframe有时不加载
当回去和重新描绘的看法 - 它负载
有没有人遇到的问题?
的iFrame例如:
NSString *htmlStr = @"<html><head><title>.</title><style>body,html,iframe{margin:0;padding:0; background-color: rgb(233,229,229);}</style></head><body><iframe src=\"http://player.vimeo.com/video/52600303\" width=\"320\" height=\"170\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></body></html>";
[cell.externalVideoWebview loadHTMLString:htmlStr baseURL:nil];