Skip to content

figositanggang/klip

Repository files navigation

Before using:

flutter pub add preload_page_view

On your pubspec.yaml:

image

klip:
    git:
      url: https://github.com/figositanggang/klip.git
      ref: main

Example:

class VideoScrenn extends StatefulWidget {
  const VideoScrenn({super.key});

  @override
  State<VideoScrenn> createState() => VideoScrennState();
}

class VideoScrennState extends State<VideoScrenn> {
  late List<String> videoUrls = [
    "https://drive.google.com/uc?export=download&id=1sZ5MfBw9WyKuOpYxuJuboh_vNXQgfQVe",
    "https://drive.google.com/uc?export=download&id=1-9htcCAC-aKUYEL-uBvMpT7TMD1ktMXp",
    "https://drive.google.com/uc?export=download&id=1VWH8k-Mmy5M0HBwfFWQAj8gJ5-OSKijF",
  ];

  @override
  Widget build(BuildContext context) {
    // The Klip
    return Klip(
      pageController: PreloadPageController(),
      videoUrls: videoUrls,
    );
  }
}

Reports:

If there is bugs or any errors, you can email me on hamonangansitanggang29@gmail.com

Happy Coding 😘😘

MuaKissGIF (2)

About

Flutter package to show page view of video player

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages