bs_reusable_widgets 0.3.0
bs_reusable_widgets: ^0.3.0 copied to clipboard
This plugin provides a customisable video player widget that can be used to display video content in a Flutter app.
BS Video Player for Flutter #
This plugin provides a customisable video player widget that can be used to display video content in a Flutter app. The bs_video_player package utilizes the video_player plugin for video playback in Flutter applications. While video_player provides direct access to video playback functions, bs_video_player wraps this functionality in an easy-to-use Material interface.
Preview! #
| Basic View | Playback speed controls |
|---|---|
![]() |
![]() |
Installation #
With Flutter:
flutter pub add bs_video_player
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bs_video_player: ^0.1.0
How to use it #
import 'package:bs_video_player/bs_video_player.dart';
BSVideoPlayer(
videoURl:
'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4',
hasPlayBackSpeed: true,
onFinishedVideo: () {},
)

