Use modern design (Flutter)

Use modern (v2) short video player

The host app can utilize the following code to enable the modern (v2) design for short videos.

FireworkSDK.getInstance().shortVideoPlayerDesignVersion =
    ShortVideoPlayerDesignVersion.v2;

Use modern (v2) livestream player

The modern (v2) livestream player offers a more extensive feature set than the classic (v1) version. For instance, features such as Giveaway, Trivia Giveaway, and AI Copilot are available exclusively in the modern player, and are not supported in the classic player.

// Use modern (v2) livestream player
FireworkSDK.getInstance().livestreamPlayerDesignVersion =
    LivestreamPlayerDesignVersion.v2;

Last updated

Was this helpful?