I am facing same problem. Any solutions? I am using Xcode 8 and swift 3. Following is the code:-
if (player == nil) {
// Account Params
let config = KPPlayerConfig(server: "http://cdnapi.kaltura.com", uiConfID: "24096301", partnerId: "1742401")
config?.entryId = "0_ijgtnbzq"
config?.cacheSize = 0.8
player = KPViewController(configuration: config)
player?.view.frame = playerContainerView.frame
player?.loadPlayer(into: self)
playerContainerView.addSubview(player.view)
}