protected function _getFlashVars() { $ret = parent::_getFlashVars(); foreach ($this->_getRow()->getChildRows('FlashVars') as $var) { if (!empty($var->key)) { $ret[$var->key] = $var->value; } } return $ret; }
protected function _getFlashVars() { $ret = parent::_getFlashVars(); $ret['file'] = $this->_getUploadUrl(); if ($this->_getRow()->autostart) { $ret['autostart'] = 'true'; } if ($this->_getRow()->loop) { $ret['repeat'] = 'always'; } return $ret; }