flutter_ijkplayer 0.3.5+1
flutter_ijkplayer: ^0.3.5+1 copied to clipboard

Flutter Android iOS

Base by bilibili ijkplayer, it's video/audio player, support https、rtmp、m3u8 and more protocol.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_ijkplayer/flutter_ijkplayer.dart';
import 'package:ijkplayer_example/page/index.dart';
import 'package:oktoast/oktoast.dart';

void main() async {
  IjkConfig.isLog = true;
//  IjkConfig.level = LogLevel.verbose;
  await IjkManager.initIJKPlayer();
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return OKToast(
      child: MaterialApp(
        home: IndexPage(),
      ),
    );
  }
}
35
likes
85
pub points
82%
popularity

Publisher

kikt.top

Base by bilibili ijkplayer, it's video/audio player, support https、rtmp、m3u8 and more protocol.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_ijkplayer