byteplus_vod 1.42.3-1 byteplus_vod: ^1.42.3-1 copied to clipboard
This Flutter plugin provides vod player sdk native APIs for you to implement video play functions in your application
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add byteplus_vod
With Flutter:
$ flutter pub add byteplus_vod
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
byteplus_vod: ^1.42.3-1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:byteplus_vod/ttsdk_manager.dart';
import 'package:byteplus_vod/ve_vod.dart';
import 'package:byteplus_vod/vod_player_flutter.dart';
import 'package:byteplus_vod/vod_player_hls.dart';
import 'package:byteplus_vod/vod_player_log.dart';
import 'package:byteplus_vod/vod_player_mediaSource.dart';
import 'package:byteplus_vod/vod_player_preload.dart';
import 'package:byteplus_vod/vod_player_strategy.dart';
import 'package:byteplus_vod/vod_player_typedef.dart';
import 'package:byteplus_vod/vod_player_view.dart';