Update youtube video player in flutter_quill_extensions

pull/1682/head
Ellet 1 year ago
parent baf70e04aa
commit 23f12bb9a3
  1. 23
      flutter_quill_extensions/lib/embeds/widgets/youtube_video_app.dart
  2. 2
      flutter_quill_extensions/pubspec.yaml

@ -60,23 +60,14 @@ class YoutubeVideoAppState extends State<YoutubeVideoApp> {
);
}
return SizedBox(
height: 300,
child: YoutubePlayerBuilder(
player: YoutubePlayer(
controller: youtubeController,
showVideoProgressIndicator: true,
),
builder: (context, player) {
return Column(
children: [
// some widgets
player,
//some other widgets
],
);
},
return YoutubePlayerBuilder(
player: YoutubePlayer(
controller: youtubeController,
showVideoProgressIndicator: true,
),
builder: (context, player) {
return player;
},
);
}

@ -40,7 +40,7 @@ dependencies:
# Plugins
video_player: ^2.8.1
youtube_player_flutter: ^9.0.0-beta.0
youtube_player_flutter: ^8.1.2
url_launcher: ^6.2.1
super_clipboard: ^0.8.2+1
gal: ^2.2.0

Loading…
Cancel
Save