Admob Banner在全屏视频上显示

时间:2019-05-20 20:47:30

标签: angular typescript ionic-framework admob ionic4

我在使用ionic 4的Webview应用程序上工作,这是一个简单的应用程序,我使用iframe查看包含一些视频流的网站,但问题是当我使用admob横幅时,它像正常情况一样在webview上显示,但是当我单击全屏时在任何视频上,它仍会在视频上显示横幅

我可以解决它吗?

我有一张照片,但是由于我有一点名声而无法发布

我的html代码

<iframe src="http://*****/" style="border:none; height:100%; width:100%" allowfullscreen>  
 </iframe>

我的admob代码

onst bannerConfig: AdMobFreeBannerConfig = {
      id: 'ca-app-pub-4357563663583275/8091064356',
      // for the sake of this example we will just use the test config
      autoShow: true,
      bannerAtTop: false,
      overlap: false,


    };
    this.admobFree.banner.config(bannerConfig);

    this.admobFree.banner.prepare()
      .then(() => {
        // banner Ad is ready
        // if we set autoShow to false, then we will need to call the show method here
      })
      .catch(e => console.log(e));

0 个答案:

没有答案