Chewie Flutter无法播放youtube上的视频

时间:2020-09-30 06:10:36

标签: popularity

我尝试播放youtube上的视频,但无法播放

final controler =
            new VideoPlayerController.network("https://youtu.be/0vQWv_EKN6g");
        if (!widget.is_audioArea) {
          controler.setVolume(0.0);
        }
        final chewieController = ChewieController(
          videoPlayerController: controler,
          aspectRatio: 3 / 2,
          autoPlay: true,
          looping: true,
          showControls: false,
        );

0 个答案:

没有答案