1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31:
<?php
namespace FlexiPeeHP\ui;
class EmbedResponsiveHTML extends EmbedResponsive
{
public function __construct($source, $feeder = 'gethtml.php')
{
$url = $feeder.'?evidence='.$source->getEvidence().'&id='.$source->getMyKey().'&embed=true';
parent::__construct('<iframe src=\''.$url.'\' type=\'text/html\' width=\'100%\' height=\'100%\'></iframe>',
['class' => 'embed-responsive', 'style' => 'padding-bottom:150%']);
}
}