For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
StatusSupportDiscussionsLog inSign Up
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
  • Player SDKs
    • Introduction
  • Web player
    • Install the FastPix web player
    • Play uploaded videos
    • Handle playback errors
  • Android player
    • Install FastPix Android player
    • Set up the player
    • Play uploaded videos
    • Handle playback errors
  • iOS player
    • Install FastPix iOS player
    • Play uploaded videos
    • Handle playback errors
  • Flutter player
    • Install FastPix Flutter player
    • Play uploaded videos
    • Handle playback errors
LogoLogo
StatusSupportDiscussionsLog inSign Up
On this page
  • Before you begin: set up media in FastPix
  • Install the SDK
  • Import the SDK
  • What’s next
Flutter player

Install FastPix Flutter player

Was this page helpful?
Previous

Play uploaded videos

Next
Built with

Learn how to set up your FastPix account and add the FastPix Flutter Player SDK to your project.

The FastPix Flutter Player SDK lets you add video playback to your Flutter app. It supports both live and on-demand streaming and integrates directly into Flutter workflows. You can find the source code in the FastPix Flutter Player GitHub repository.

Before you begin: set up media in FastPix

Before writing Flutter code, you need a playback ID. This is how FastPix identifies which video to stream.

  1. Sign in to the FastPix Dashboard.
  2. Create a media asset using either Push (you upload to FastPix) or Pull (FastPix fetches from your source URL). You can also use the FastPix API for programmatic asset creation.
  3. Go to the View Media page and locate the Playback ID.

Note: Playback IDs are case-sensitive, and each one maps to a single video stream. If your video is protected, you also need to generate a valid JWT token with appropriate access claims.

Install the SDK

You have two options:

Option A: Add from the terminal

$flutter pub add fastpix_video_player

Option B: Add the dependency directly in pubspec.yaml

1dependencies:
2 fastpix_video_player: 1.0.0

Then run:

$flutter pub get

Note: If you’re behind a proxy or using a CI/CD runner, verify that the SDK is being correctly fetched and cached. Run flutter pub deps to confirm installation.

Import the SDK

Import the SDK into any Dart file where you need video playback. Typically this is your main.dart or a feature module:

1import 'package:fastpix_player/fastpix_video_player.dart';

What’s next

  • Play uploaded videos to stream your first video.
  • Play live and on-demand streams to configure stream types.