panhui 6 лет назад
Родитель
Сommit
13f5904ebe
1 измененных файлов с 10 добавлено и 10 удалено
  1. 10 10
      lib/widget/VideoWidget.dart

+ 10 - 10
lib/widget/VideoWidget.dart

@@ -77,7 +77,7 @@ class VideoWidgetState extends State<VideoWidget> {
       ],
       ],
     ));
     ));
   }
   }
-
+  
   Widget _playContainer() {
   Widget _playContainer() {
     return Container(
     return Container(
       color: Colors.black,
       color: Colors.black,
@@ -126,14 +126,14 @@ class VideoWidgetState extends State<VideoWidget> {
         ),
         ),
       ),
       ),
     );
     );
-    return InkWell(
-      child: AspectRatio(
-        aspectRatio: _controller.value.aspectRatio,
-        child: VideoPlayer(_controller),
-      ),
-      onTap: () {
-        _controller.value.isPlaying ? _controller.pause() : _controller.play();
-      },
-    );
+    // return InkWell(
+    //   child: AspectRatio(
+    //     aspectRatio: _controller.value.aspectRatio,
+    //     child: VideoPlayer(_controller),
+    //   ),
+    //   onTap: () {
+    //     _controller.value.isPlaying ? _controller.pause() : _controller.play();
+    //   },
+    // );
   }
   }
 }
 }