flutter_video_caching 0.3.10 copy "flutter_video_caching: ^0.3.10" to clipboard
flutter_video_caching: ^0.3.10 copied to clipboard

Video caching, can use with video_player package. It supports formats like m3u8 and mp4, play and cache videos simultaneously, precache the video before playing.

example/lib/main.dart

import 'package:example/matcher/url_match_custom.dart';
import 'package:flutter/material.dart';
import 'package:flutter_video_caching/flutter_video_caching.dart';
import 'package:media_kit/media_kit.dart';

import 'main_route.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  MediaKit.ensureInitialized();
  await VideoProxy.init(logPrint: true, urlMatcher: UrlMatcherCustom());
  runApp(const HomeApp());
}

class HomeApp extends StatelessWidget {
  const HomeApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Home App',
      home: MainRoute(),
    );
  }
}
32
likes
150
points
1.11k
downloads

Publisher

unverified uploader

Weekly Downloads

Video caching, can use with video_player package. It supports formats like m3u8 and mp4, play and cache videos simultaneously, precache the video before playing.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

crypto, flutter, flutter_hls_parser, http, logger, path, path_provider, synchronized

More

Packages that depend on flutter_video_caching