Skip to main content
User Community Portal
Question

Flutter SDK integrations issue


Forum|alt.badge.img

Dear Team, can you help me how to integrate Flutter SDK integration in my flutter app. I am not finding any documentation against Flutter SDK , please guide and help.

Andy Hartono
Forum|alt.badge.img+2

I'm glad to see that other customer is also requesting Flutter SDK integration. Hopefully, Brightcove will take this into consideration in the future.

If Flutter integration is required, you may need to develop your own custom solution for it by using Brightcove's native SDKs.

As highlighted in this tech talk (Brightcove Tech Talk – Mobile Frameworks for OTT Apps):

"Brightcove doesn’t support frameworks in our mobile SDKs because a framework is only great until it’s not. Our focus is ensuring our customers and their audiences get the best video playback experience possible. However, our Global Services team can provide a wrapper encapsulated with our mobile SDKs so that they can be compatible with an app built in React Native. Our React Native wrapper offers basic playback features, including DRM support."


Forum|alt.badge.img

please guide us step by step for sdk integration using platform channel for native platforms(android and ios). please guide.


Perla Olivas
Forum|alt.badge.img

Hi ​@Sitanshu Champatiray,

Currently, Brightcove doesn't provide a dedicated Flutter SDK, but you can still integrate Brightcove video playback into your Flutter app using platform channels. You can utilize the Brightcove native SDKs for iOS and Android (e.g., the Brightcove Player SDK for iOS and Android) and then use Flutter's platform channels to communicate between Flutter and the native code.

Here are the high-level steps to integrate the Brightcove Player SDK into your Flutter app:

  1. Add Platform-Specific Code (iOS and Android):

    • For iOS, you would add the Brightcove Player SDK to your iOS project within the Flutter app, following the official Brightcove SDK integration guides.
    • For Android, you would add the Brightcove Player SDK to the android module of your Flutter app and follow the Brightcove integration instructions for Android.
  2. Create Platform Channels in Flutter:

    • Use Flutter's platform channels to communicate with the native iOS and Android code.
    • You will call native methods (e.g., play video, pause video, etc.) via these channels from your Flutter app.

Public Documentation:

If you need assistance with any specific part of the integration or have any other questions, feel free to create a ticket with Brightcove Support [bc_support@brightcove.com].

Happy to help!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings