Player disappears when I click on maximise button

#1

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?

#2

Hey,

Yes, you should override the functionality of this button and implement your own logic.

Please use below doc to do it:
https://vpaas.kaltura.com/documentation/Mobile-Video-Player-SDKs/Fullscreen-inline-iOS.html

Best,
Eliza

cc @oren_melamed, @itay_kinnrot