My iOS app is going to have private and public videos, and users can purchase private ones. Right now I'm using YouTube and the youtube-ios-player-helper library for video hosting. Loading a public video is extremely easy:
playerView.loadWithVideoId("M7lc1UVf-VE")
but how do you do it in the most simplistic way for private videos? Is there something as simple as:
let playerVars = [
"username": username,
"password": password,
]
playerView.loadWithVideoId("M7lc1UVf-VE", playerVars: playerVars)
or something equally as simple?