flutter_vlc_player_16kb
7.4.7, released a year ago by an unverified publisher
A VLC-powered alternative to Flutter's video_player supporting multiple players.
What it does
Provides a VLC-powered video player widget and controller for Flutter applications on Android and iOS. Supports multiple players on one screen, loading media from networks or local storage, and casting features.
AI-written summary of version 7.4.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a video player that supports multiple instances on a single screen.
- You need compatibility with a wider range of media formats than Flutter's default video_player.
- You need iOS simulator playback support, which standard video_player lacks.
Skip it when
- You only need simple web video playback without complex mobile VLC bindings.
- You want to avoid platform-specific configuration overhead on Android and iOS.
Strengths
- Supports multiple players on a single screen simultaneously.
- Works fully on iOS simulators.
- Built-in support for streaming, subtitles, and recording features.
Weaknesses
- Recording feature can fail if the video reaches its end before stopping.
- Requires platform-specific configuration (AndroidManifest.xml, Info.plist, Podfile).
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Requires adding permissions and configurations for Internet and storage access in AndroidManifest.xml and iOS Info.plist, alongside specific Gradle and Podfile configurations.
import 'package:flutter/material.dart';
import 'package:flutter_vlc_player/vlc_player_flutter.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
late VlcPlayerController _videoPlayerController;
@override
void initState() {
super.initState();
_videoPlayerController = VlcPlayerController.network(
'https://media.w3.org/2010/05/sintel/trailer.mp4',
hwAcc: HwAcc.FULL,
autoPlay: false,
options: VlcPlayerOptions(),
);
}
@override
void dispose() async {
super.dispose();
await _videoPlayerController.stopRendererScanning();
await _videoPlayerController.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: VlcPlayer(
controller: _videoPlayerController,
aspectRatio: 16 / 9,
placeholder: Center(child: CircularProgressIndicator()),
),
),
);
}
}Alternatives
Packages that do the same job and could replace flutter_vlc_player_16kb.
- video_player
Official Flutter video player plugin backed by the Flutter team.
93Compare - just_audio
Feature-rich audio player that handles complex audio use cases.
80Compare
Works with
Packages commonly used together with flutter_vlc_player_16kb: ones it builds on, ones built on it, and its own family.