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"
You can follow this guide to handle deep links for React Native. After you get the deep link(the share link), you can use
openVideoPlayer
of FireworkSDK
instance to open it.FireworkSDK.getInstance().openVideoPlayer(deepLink);
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, {
enablePictureInPicture: true,
});
Last modified 1mo ago