epic_video_player 1.0.0
epic_video_player: ^1.0.0 copied to clipboard
The name says it all :) Feature Rich Advanced video player for Flutter, supports DRM, Subtitles, Multi-audio/video streams, and is well maintained
example/lib/main.dart
import 'package:epic_video_player_example/pages/welcome_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Shortcuts(
shortcuts: <LogicalKeySet, Intent>{LogicalKeySet(LogicalKeyboardKey.select): const ActivateIntent()},
child: MaterialApp(
title: 'Better player demo',
localizationsDelegates: [GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate],
supportedLocales: [const Locale('en', 'US'), const Locale('pl', 'PL')],
theme: ThemeData(primarySwatch: Colors.green),
home: WelcomePage(),
),
);
}
}