iOS Stream video from Google drive Swift
问题 I'm building an iOS app that Stream's video from Google drive the videos link looks like this https://drive.google.com/file/d/0B2Kri7-TaAFJSlJ4UTJuSElGamM/preview The only way to get the Stream Link from the URL above is by Decoding the webView HTML Code: let myURLString = "https://drive.google.com/file/d/0B2Kri7-TaAFJSlJ4UTJuSElGamM/preview" if let myURL = NSURL(string: myURLString) { do { let myHTMLString = try String(contentsOfURL: myURL, encoding: NSUTF8StringEncoding) print("HTML : \