Why is the iframe popup in XUL not showing?

I am trying to create an addon for Firefox that will play online radio. I need to overclock the iframe using a radio player.

When I put this directly in an XUL document, everything is fine. IFrame is loaded and displayed:

<iframe src="http://player.radiocafe.centrum.cz/back90s/" width="300" height="400" />

But when I try to put it in a popup, the iframe loads (it takes up space, plays the radio, I can manipulate the iframe using JavaScript, etc.), but its contents are not displayed:

<toolbarbutton label="Radio test" class="ch-styled" popup="ch-radioTest" />
<panel id="ch-radioTest" position="after_start">
    <iframe src="http://player.radiocafe.centrum.cz/back90s/" width="300" height="400" />
</panel>

Any idea what I'm doing wrong? Is it possible? If not, why?

Thank.

+3
source share
1 answer

, - , , -. ( Flash) . / - , Gecko , . Bugzilla, , . , (, ).

:

  • type="content" . , top.location = "http://google.com/" .
  • src , , , . , , - , . , , .
0

All Articles