cp_video_player 0.0.6 copy "cp_video_player: ^0.0.6" to clipboard
cp_video_player: ^0.0.6 copied to clipboard

A customized flutter video player

cp_video_player #

A customized flutter video player

Getting Started #

import 'package:cp_video_player/cp_video_player.dart';

  final CPVideoPlayerController _playerController= CPVideoPlayerController();

  @override
  void initState() {
    super.initState();
    _playerController.play("https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_1280_10MG.mp4");
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        top: MediaQuery.of(context).orientation == Orientation.portrait,
        child: CPVideoPlayer(controller: _playerController,),
      ),
    );
  }
1
likes
70
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A customized flutter video player

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, video_player

More

Packages that depend on cp_video_player