MOD: updated defaults to my prefs
This commit is contained in:
parent
5d88c25f97
commit
64eb412a6f
16
README.md
16
README.md
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue