2016-12-07 44 views
-1

我很困惑,为什么iframe不加载在Firefox中。但它在谷歌浏览器中表现出色。
角2:iframe加载在铬,但它不在Firefox中加载

这是我的角2代码。

<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8 nopadding customPaddingOnMobileDevice" [ngClass]="{visibility: isMapViewHidden}"> 
    <div [style.height]="(windowHeight - 130) + 'px'"> 
    <div class="modal-header alert-info"> 
     <button type="button" class="close" (click)="hideBookingView()">&times;</button> 
     <h4 class="modal-title text-center">FMA - Book Appointment </h4> 
    </div> 

    <iframe width="100%" height="790px;" [src]="'https://something.health.care/public/rmd_widget.php?shortname=something&width=1920#doctorLocationsContainer' | safeUrl"></iframe> 
    </div></div> 

但当铬加载我的地​​图组件,我可以看到这个iframe网址加载我观察到的一两件事。但在Firefox中,我无法看到这个iframe url加载。

任何人都面临这种问题?
Chome screen shot

Firefox screen shot

+0

在浏览器控制台中的任何错误讯息? –

+0

我看不到任何错误 –

+0

如果您调查DOM,'