flutter chewie video player
the video player for flutter with a heart of gold.
chewie video player uses the video_player under the hood and wraps it in a friendly material or cupertino ui!
the video_player plugin provides low-level access to video playback.
demo
installation
in your pubspec.yaml
file within your flutter project:
dependencies:
chewie: <latest_version>
use it
import 'package:chewie/chewie.dart';
final playerwidget = new chewie(
new videoplayercontroller.network(
'https://flutter.github.io/assets-for-api-docs/videos/butterfly.mp4'
),
aspectratio: 3 / 2,
autoplay: true,
looping: true,
);
example
please run the app in the example/
folder to start playing!
Comments are closed.