Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
颤振:在iOS版本的YouTube应用程序中打开视频_Ios_Flutter_Youtube - Fatal编程技术网

颤振:在iOS版本的YouTube应用程序中打开视频

颤振:在iOS版本的YouTube应用程序中打开视频,ios,flutter,youtube,Ios,Flutter,Youtube,我有一个包含YouTube视频的应用程序,我想在YouTube应用程序中打开它们,对于android,我使用了android\u intent软件包,IOS有相同的软件包吗?还是另一种方式? android_intemt代码: child: InkWell( onTap: () async { await intent.launch(); }, child: YoutubePlayer( controller: _contro

我有一个包含YouTube视频的应用程序,我想在YouTube应用程序中打开它们,对于android,我使用了android\u intent软件包,IOS有相同的软件包吗?还是另一种方式? android_intemt代码:

child: InkWell(
      onTap: () async {
         await intent.launch();
      },
       child: YoutubePlayer(
       controller: _controller,
        showVideoProgressIndicator: true,
        progressIndicatorColor: Colors.blueAccent,
        ),)
您可以使用打开YouTube链接(适用于iOS和Android)。如果它没有在YouTube应用程序中打开,请尝试启动一个以
YouTube://
开头的URL。有关更多详细信息,请参阅答案