找不到 :: YoutubeVideoPlayer :: openVideo 的执行代理

exec proxy not found for :: YoutubeVideoPlayer :: openVideo

我正在开发 ionic 4 应用程序

在我 运行 命令之后 ionic cordova run browser

我遇到问题

exec proxy not found for :: YoutubeVideoPlayer :: openVideo

我在 ts 文件中分享我的代码

import { Component } from '@angular/core';
import { YoutubeVideoPlayer } from '@ionic-native/youtube-video-player/ngx';
import { NavController } from '@ionic/angular';



@Component({
  selector: 'app-tab1',
  templateUrl: 'tab1.page.html',
  styleUrls: ['tab1.page.scss']
})
export class Tab1Page {

  constructor(private youtube: YoutubeVideoPlayer , private navCtrl: NavController) {}


  watch(watch) {
    this.youtube.openVideo(watch);
  }
}

你根本无法 运行 使用插件在浏览器上播放 youtube 视频,支持平台是 Android 和 IOS 请尝试构建 apk 或 ipa 运行 在实际设备中。