2016-12-07 46 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,'