Picture In Picture Extension

Open in App

Using this extension you can play your videos on home screen pop-up window. To enable picture-in-picture mode you need to declare it in your app’s manifest file.

Note : After setup this extension in your app you need to edit your app AndroidManifest.xml file and add this android:supportsPictureInPicture=”true” line of code in your player screen. after that you can compile your app and you can signed your app with your project android.keystore file using app signer tool.

<!-- Copy this line and add in your app manifet file player screen -->

android:supportsPictureInPicture="true"

<!-- Example Player Screen -->

<activity 
    android:exported="false"
    android:supportsPictureInPicture="true"
    android:theme="@style/AppTheme.NoActionBar"
    android:name="io.kodular.nabadeepbg.AdvancedExoPlayer.PlayerScreen"
    android:configChanges="orientation|screenSize|screenLayout|keyboardHidden">
</activity>

Blocks :

Demo App Blocks :

You can download this extension licence from deephost app.

Similar Posts