MOD: updated defaults to my prefs

This commit is contained in:
JohnE 2026-01-25 00:10:14 -08:00
parent 5d88c25f97
commit 64eb412a6f
2 changed files with 2 additions and 16 deletions

View File

@ -18,18 +18,7 @@ Add to your `pubspec.yaml`:
```yaml
dependencies:
splash_video: ^0.0.1
media_kit: ^1.2.6
media_kit_video: ^2.0.1
video_player_media_kit: ^2.0.0
# Platform-specific video libraries
media_kit_libs_android_video: any
media_kit_libs_ios_video: any
media_kit_libs_macos_video: any
media_kit_libs_windows_video: any
media_kit_libs_linux: any
```
splash_video: ^0.0.2
## Quick Start
@ -44,9 +33,6 @@ void main() {
WidgetsFlutterBinding.ensureInitialized();
// Required: Initialize media_kit
MediaKit.ensureInitialized();
// Optional: Defer first frame for smooth transition
SplashVideo.initialize();
runApp(MyApp());

View File

@ -30,7 +30,7 @@ class VideoConfig {
this.playImmediately = true,
this.videoVisibilityEnum = VisibilityEnum.useFullScreen,
this.useSafeArea = false,
this.volume = 100.0,
this.volume = 80.0,
this.enableAudio = true,
this.onPlayerInitialized,
});