BiddingStack Video Player for Flutter

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.

Requirements

ComponentMinimum Version
Flutter3.16+
Dart3.4+
iOS14.0+
Android API Level24 (Android 7.0)+

Note: The video player requires an internet connection. Make sure <uses-permission android:name="android.permission.INTERNET" /> is declared in android/app/src/main/AndroidManifest.xml. Flutter's default template only declares it for debug and profile builds.

Installation

The biddingstack_media_sdk package is distributed privately while in early access. Contact the BiddingStack team to get the SDK package.

Usage

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',
)

Parameters

ParameterTypeDefaultDescription
pubIdStringrequiredYour BiddingStack publisher ID
videoIdString?nullSingle-video mode; ignored when playlistId is set
playlistIdString?nullPlaylist mode; takes precedence over videoId
verboseboolfalseExtra native logging

Video Content

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.