I am trying to embed a youtube video in iOS 9 using xcode.
This code all works well:
let url = NSURL(string: "https://www.youtube.com/watch?v=kmv4kEbmWgc")
let request = NSURLRequest(URL: url!)
youTubeView.loadRequest(request)
However, because I dont want to use https because of encryption export issues: Does my application "contain encryption"?
I am trying a non-http version of the above code:
let url = NSURL(string: "http://www.youtube.com/watch?v=kmv4kEbmWgc")
let request = NSURLRequest(URL: url!)
youTubeView.loadRequest(request)
But that doesnt work. Anyone know a way around this?
Thanks