byteark_player_flutter 2.0.0
byteark_player_flutter: ^2.0.0 copied to clipboard
ByteArkPlayerFlutter is a Flutter plugin for the ByteArk Player, designed to enable seamless video playback and advanced player management within your Flutter applications.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add byteark_player_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
byteark_player_flutter: ^2.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:byteark_player_flutter/byteark_player_flutter_web.dart';
import 'package:byteark_player_flutter/data/ads/byteark_player_ads_data.dart';
import 'package:byteark_player_flutter/data/ads/byteark_player_ads_error_data.dart';
import 'package:byteark_player_flutter/data/ads/byteark_player_playback_error.dart';
import 'package:byteark_player_flutter/data/byteark_drm.dart';
import 'package:byteark_player_flutter/data/byteark_player_config.dart';
import 'package:byteark_player_flutter/data/byteark_player_event_types.dart';
import 'package:byteark_player_flutter/data/byteark_player_item.dart';
import 'package:byteark_player_flutter/data/byteark_player_license_key.dart';
import 'package:byteark_player_flutter/data/byteark_player_lighthouse_meta_data.dart';
import 'package:byteark_player_flutter/data/byteark_player_media_track.dart';
import 'package:byteark_player_flutter/data/byteark_player_native_event.dart';
import 'package:byteark_player_flutter/data/byteark_player_source.dart';
import 'package:byteark_player_flutter/data/byteark_player_subtitle_size.dart';
import 'package:byteark_player_flutter/domain/byteark_player_backend.dart';
import 'package:byteark_player_flutter/domain/byteark_player_controller.dart';
import 'package:byteark_player_flutter/domain/byteark_player_listener.dart';
import 'package:byteark_player_flutter/domain/event_channel/byteark_player_event_channel.dart';
import 'package:byteark_player_flutter/domain/method_channel/byteark_player_controller.dart';
import 'package:byteark_player_flutter/domain/method_channel/byteark_player_controller_method_channel.dart';
import 'package:byteark_player_flutter/domain/method_channel/byteark_player_controller_platform_interface.dart';
import 'package:byteark_player_flutter/domain/mobile_source_selector.dart';
import 'package:byteark_player_flutter/presentation/byteark_player.dart';
import 'package:byteark_player_flutter/web/ads_config_mapper.dart';
import 'package:byteark_player_flutter/web/autoplay_policy_mapper.dart';
import 'package:byteark_player_flutter/web/byteark_player_web_backend.dart';
import 'package:byteark_player_flutter/web/byteark_player_web_js.dart';
import 'package:byteark_player_flutter/web/byteark_player_web_runtime_guard.dart';
import 'package:byteark_player_flutter/web/byteark_player_web_view_factory.dart';
import 'package:byteark_player_flutter/web/drm_config_mapper.dart';
import 'package:byteark_player_flutter/web/web_event_translator.dart';
import 'package:byteark_player_flutter/web/web_sources_mapper.dart';