vidinfra_player 0.0.5 copy "vidinfra_player: ^0.0.5" to clipboard
vidinfra_player: ^0.0.5 copied to clipboard

Vidinfra Player SDK For Flutter. At Vidinfra we simplify complex video infrastructure processes, enabling the creation of fast, reliable, and scalable custom video experiences through our straightforw [...]

Vidinfra Player for Flutter #

Official Flutter SDK for Vidinfra by Tenbyte.

Vidinfra is a secure video infrastructure platform with unlimited bandwidth, built-in security, and piracy protection. This Flutter SDK provides an embeddable video player widget (VidinfraPlayerView), a playback controller (VidinfraPlayerController), download helpers (VidinfraDownloader), and AES authentication helpers for secure video delivery.

Built on top of kvideo, this lightweight SDK enables seamless integration of Vidinfra's video hosting capabilities into Flutter applications.

Learn more about Vidinfra: https://tenbyte.io/vidinfra

About Vidinfra #

Vidinfra is an all-in-one video hosting platform that provides:

  • Unlimited CDN bandwidth - Global edge network for fast video delivery
  • Built-in security - Token authentication, geo-blocking, domain restrictions, and multi-DRM protection
  • Piracy protection - Keep your content secure and prevent revenue leaks
  • Easy management - Upload, organize, and manage your video library via API or dashboard
  • Customizable player - Personalize with logos, subtitles, and thumbnails
  • Live streaming - RTMP/SRT ingest with adaptive HLS delivery
  • Video analytics - Track performance and viewer engagement metrics

This Flutter SDK enables you to integrate Vidinfra's video playback, downloading, and authentication features directly into your Flutter applications.


Quick Links

  • Product: Vidinfra - Secure video infrastructure with unlimited CDN
  • Company: Tenbyte
  • Package: vidinfra_player (see pubspec.yaml)
  • Example app: example/
  • License: MIT (see LICENSE)

--

Features #

  • Embeddable video widget (VidinfraPlayerView) with controller-driven playback API.
  • AES authentication helpers to generate and merge request headers.
  • Downloader with start/remove/list/status helpers and listener hooks.
  • Media model includes subtitles, sprite thumbnails, and chapter VTT fields.
  • Access to lower-level kvideo notifiers for advanced playback state.

Requirements #

  • Dart >=3.8.1, Flutter >=1.17.0 (from pubspec.yaml).
  • Standard Flutter Android/iOS setup with network access; ensure platform permissions for networking/downloading as required by your app.

Installation #

Add vidinfra_player to your pubspec.yaml and run flutter pub get

dependencies:
  vidinfra_player: <latest_version_here>

Quick Start #

A minimal stateful widget using the controller and view:

import 'package:flutter/material.dart';
import 'package:vidinfra_player/vidinfra_player.dart';

class PlayerExample extends StatefulWidget {
  const PlayerExample({super.key});

  @override
  State<PlayerExample> createState() => _PlayerExampleState();
}

class _PlayerExampleState extends State<PlayerExample> {
  final controller = VidinfraPlayerController();

  @override
  void dispose() {
    controller.dispose();
    super.dispose();
  }

  Future<void> _play() async {
    await controller.play(Media(
      title: 'Sample',
      url: 'https://example.com/video.mpd',
    ));
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Expanded(child: VidinfraPlayerView(controller: controller)),
        ElevatedButton(onPressed: _play, child: const Text('Play')),
      ],
    );
  }
}

Detailed Example #

Please see SAMPLES for an in-depth use-case and example of all the available features.

Contributing #

Contributions are welcome! Please open issues or PRs and follow the existing code style.

For questions or support about Vidinfra, visit https://tenbyte.io/vidinfra or contact Tenbyte.

License #

This project is licensed under the MIT License. See LICENSE for details.

0
likes
0
points
216
downloads

Publisher

verified publishervidinfra.com

Weekly Downloads

Vidinfra Player SDK For Flutter. At Vidinfra we simplify complex video infrastructure processes, enabling the creation of fast, reliable, and scalable custom video experiences through our straightforward and transparent API.

Homepage
Repository (GitHub)
View/report issues

Topics

#video #vidinfra #drm #download #hls

License

unknown (license)

Dependencies

crypto, flutter, flutter_hls_parser, http, kvideo, path, path_provider, provider, subtitle, vector_graphics, vector_graphics_compiler, video_preview_thumbnails, volume_controller

More

Packages that depend on vidinfra_player