Browse Source

视频缩放适配更改

ff_new
w-R 3 years ago
parent
commit
fd04f86c50
  1. 6
      lib/community/community_view/class_details.dart

6
lib/community/community_view/class_details.dart

@ -425,8 +425,10 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
child: Stack(children: [
(chewieAudioController != null
? Container(
color: Colors.black,
width: width,
height: height,
// height:
height: width / 7 * 5,
child: chewies = Chewie(
controller: chewieAudioController,
),
@ -446,7 +448,7 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
},
child: Container(
width: width,
height: width / 7 * 6,
height: width / 7 * 5,
color: Colors.black,
child: Stack(
children: [

Loading…
Cancel
Save