【问题标题】:Using i-frame or SDK to embed Google meets使用 i-frame 或 SDK 嵌入 Google Meet
【发布时间】:2021-07-15 14:20:03
【问题描述】:

有没有一种方法可以让我使用i-frame 或他们的SDK(如果他们提供)将 Google 会议嵌入到我的angular 12 网络应用程序中。

尝试在 i-frame 中打开 Google 会议时,我收到如下错误消息。我还没有找到任何合适的文档来集成 SDK for Google meet。

HTML 代码:

    <div class="row">
        <div class="col-8">
            <input type="text" [(ngModel)]="url1" />
        </div>
        <div class="col-4">
            <button (click)="onSubmit()" class="primary">GO</button>
        </div>
    </div>

    <div class="container">
        <iframe [src]="url" allow="microphone; camera;fullscreen" 
        width="1000px" height="1000px"></iframe>
    </div>

打字稿代码:

    constructor(private route: ActivatedRoute, public ds: DomSanitizer) {}
    url: SafeResourceUrl;
    url1: string;
    onSubmit() {
        this.url = this.ds.bypassSecurityTrustResourceUrl(this.url1);
        console.log(this.url);
    }

【问题讨论】:

    标签: angular typescript sdk google-meet


    【解决方案1】:

    Google API 目前没有用于 Google Meets 的 SDK,这意味着目前无法将 Google 会议集成到应用程序中。

    【讨论】:

      猜你喜欢
      • 2022-11-15
      • 2020-10-08
      • 1970-01-01
      • 1970-01-01
      • 2021-02-23
      • 2023-03-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多