Links

Share & Video Deeplinking

If you want the share URL to be a deep link. you can custom the share base URL, e.g. https://example.com. When users click the share link, it can be opened in your application.
FireworkSDK.getInstance().shareBaseURL = "https://example.com";
When a user clicks the deep link, your app(if installed) will be opened. Then you can get the deep link(the share link) and use openVideoPlayer of FireworkSDK instance to open it.
FireworkSDK.getInstance().openVideoPlayer(deepLink);

Configuration for opening video player

You could pass the configuration when opening the video player. The configuration type is OpenVideoPlayerConfiguration.
For example, you could enable the floating player when opening the video player.
FireworkSDK.getInstance().openVideoPlayer(
url: url,
config: OpenVideoPlayerConfiguration(
enablePictureInPicture: true,
),
);