Quantcast
Channel: Kaltura - Latest posts
Viewing all articles
Browse latest Browse all 7410

Player disappears when I click on maximise button

$
0
0

Hello,

I am using Xcode 8 and Swift 3. I have integrated Kaltura Player and using following code:-

if (player == nil)
{
// Account Params - 24096301
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)
    }

When I click on maximise button in bottom right corner of player, player just disappears. Any solution?


Viewing all articles
Browse latest Browse all 7410

Trending Articles