Fix HTML iframe tag in EmbedController(s) and adopt relative URLs

This changeset fixes this issue:
* https://github.com/LibreTime/libretime/issues/988

This changeset contributes in fixing this issue:
* https://github.com/LibreTime/libretime/issues/957
This commit is contained in:
Valerio Bozzolan 2020-11-28 18:47:56 +01:00
parent f62ed7d2e3
commit b8f4a33927
2 changed files with 15 additions and 15 deletions

View file

@ -34,7 +34,7 @@
<?php endif; ?>
<div id="tab-1" class="schedule tab_content current">
<iframe onLoad="autoResize('schedule_iframe');" id="schedule_iframe" height="300px" scrolling="yes" frameborder="0" src="<?php echo $this->stationUrl."embed/weekly-program?style=premium"?>"></iframe>
<iframe onLoad="autoResize('schedule_iframe');" id="schedule_iframe" height="300px" scrolling="yes" frameborder="0" src="/embed/weekly-program?style=premium"></iframe>
</div>
@ -299,7 +299,7 @@
}
?>
<iframe id="player_iframe" frameborder="0" width="100%" style="bottom:0px; left:0px; position:fixed; right:0px;" src=<?php echo $this->stationUrl."embed/player?stream=auto&style=premium";?>></iframe>
<iframe id="player_iframe" frameborder="0" width="100%" style="bottom:0px; left:0px; position:fixed; right:0px;" src="/embed/player?stream=auto&style=premium"></iframe>
</div>