BiddingStack Video Player Flutter Integration Guide
Play BiddingStack video, either single videos or playlists, in your Flutter app with the BiddingStackVideoPlayer widget, including ads and fullscreen out of the box.
| Component | Minimum Version |
|---|---|
| Flutter | 3.16+ |
| Dart | 3.4+ |
| iOS | 14.0+ |
| Android API Level | 24 (Android 7.0)+ |
Note: The video player requires an internet connection. Make sure
<uses-permission android:name="android.permission.INTERNET" />is declared inandroid/app/src/main/AndroidManifest.xml. Flutter's default template only declares it for debug and profile builds.
The biddingstack_media_sdk package is distributed privately while in early access. Contact the BiddingStack team to get the SDK package.
Give the widget an explicit size (e.g. 16:9):
import 'package:biddingstack_media_sdk/biddingstack_media_sdk.dart';
AspectRatio(
aspectRatio: 16 / 9,
child: BiddingStackVideoPlayer(
pubId: 'YOUR_PUBLISHER_ID',
videoId: 'YOUR_VIDEO_ID',
),
)
To play a playlist instead of a single video:
BiddingStackVideoPlayer(
pubId: 'YOUR_PUBLISHER_ID',
playlistId: 'YOUR_PLAYLIST_ID',
)
| Parameter | Type | Default | Description |
|---|---|---|---|
pubId | String | required | Your BiddingStack publisher ID |
videoId | String? | null | Single-video mode; ignored when playlistId is set |
playlistId | String? | null | Playlist mode; takes precedence over videoId |
verbose | bool | false | Extra native logging |
The Video ID and Playlist ID identify content hosted on SyncCMS. A SyncCMS account is required to upload and manage videos and playlists; copy the IDs from the SyncCMS UI.