public $inline;
public $display_area;
public $infobulle;
+ public $extra;
public $id;
public $rot;
foreach ($init as $k => $v) {
$this->$k = $v;
}
+ if (!$this->video_width) {
+ $this->video_width = $this->width;
+ }
+ if (!$this->video_height) {
+ $this->video_height = $this->height;
+ }
+
+
if ($this->target == '') {
$this->target = '_blank';
}
$h = $this->height * $this->getCssScale();
if ($this->_config['html']) {
$this->_url = $d['fdir'] . '/' . $this->_config['html'];
+ if ($this->extra) {
+ $this->_url.='?' . $this->extra;
+ }
$iw = $this->_config['width'];
$ih = $this->_config['height'];
public function getConfigZIP($d) {
+
$res = array('width' => $this->video_width, 'height' => $this->video_height);
if (file_exists($d . '/index.html')) {
$r = array('html' => 'index.html', 'inject' => array(), 'injectcss' => array(), 'injectjs' => array());