Skip to content

The PiP Video Player plugin is a versatile Flutter plugin designed to enable Picture in Picture (PiP) functionality across multiple platforms. Currently supporting Android and iOS, this plugin aims to extend its support to Windows, Linux, macOS, and Web, providing a seamless multimedia experience across all major platforms.

Notifications You must be signed in to change notification settings

FlutterPlaza/pip_video_player

Repository files navigation

pip_video_player

Very Good Ventures Very Good Ventures

Developed with 💙 by Very Good Ventures 🦄

coverage style: very good analysis License: MIT

A Very Good Flutter Federated Plugin created by the Very Good Ventures Team.

Generated by the Very Good CLI 🤖

Android installation

Enable PiP Mode in AndroidManifest.xml by adding android:supportsPictureInPicture="true" Add the necessary permissions and PiP configuration to your AndroidManifest.xml. xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.flutterplaza.pipvideoplayer">

    <application
        android:label="PipVideoPlayer"
        android:allowBackup="true"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

        <activity
            android:name=".MainActivity"
            android:label="PipVideoPlayer"
            android:supportsPictureInPicture="true"
            android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

Integration tests 🧪

Very Good Flutter Plugin uses fluttium for integration tests. Those tests are located in the front facing package pip_video_player example.

❗ In order to run the integration tests, you need to have the fluttium_cli installed. See how.

To run the integration tests, run the following command from the root of the project:

cd pip_video_player/example
fluttium test flows/test_platform_name.yaml

About

The PiP Video Player plugin is a versatile Flutter plugin designed to enable Picture in Picture (PiP) functionality across multiple platforms. Currently supporting Android and iOS, this plugin aims to extend its support to Windows, Linux, macOS, and Web, providing a seamless multimedia experience across all major platforms.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published