I'm trying to play a Vimeo video in a iOS UIWebView using this code:
NSString *urlString = [NSString stringWithFormat:@"http://player.vimeo.com/video/%@?title=0&byline=0&portrait=0", video.serviceId];
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:urlString]]];
It works fine on iPhone 4 but on iPhone 3GS this works sometimes fine, but other times the response from the Vimeo Player is as following:
Can anybody tell me how to play a Vimeo video in iOS on all devices?
EDIT1:
I've tested the User Agent information and both devices (iPhone 4 and iPhone 3GS) is sending the same User Agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A405
Further I've tried to play the video from the Safari browser on the iPhone 3GS, which gives the same error as in the UIWebView.