VLC Player Plugin

Flutter plugin to view local videos and videos from the network. Work example:

Getting Started

iOS integration: For iOS you needed to add this two rows into Info.plist file (see example for details):


To start using the plugin, copy this code or follow the example:

import 'package:flutter/material.dart';
import 'package:flutter_vlc_player/vlc_player.dart';
import 'package:flutter_vlc_player/vlc_player_controller.dart';

class ExampleVideo extends StatefulWidget {
  _ExampleVideoState createState() => _ExampleVideoState();

class _ExampleVideoState extends State<ExampleVideo> {
  final String urlToStreamVideo = '';
  final VlcPlayerController controller = VlcPlayerController();
  final int playerWidth = 640;
  final int playerHeight = 360;

  Widget build(BuildContext context) {
    return Scaffold(
      body: VlcPlayer(
        defaultWidth: playerWidth,
        defaultHeight: playerHeight,
        url: urlToStreamVideo,
        controller: controller,
        placeholder: Center(child: CircularProgressIndicator()),

To take screenshot from video just follow next code:

Uint8List image = await controller.makeSnapshot();

Current issues

Current issues list is here.
Found a bug? Open the issue.