Esempio n. 1
0
	public function videoAction() {
		$this->common();
		$this->tinyMCE();
		
		if (isset($this->view->form)) {
			return;
		}
		
		if ($this->_bookmarklet) {
			$source	= StuffpressModel::forUser($this->_application->user->id);
			$embed 	= Stuffpress_Services_Webparse::getEmbedFromLink($this->_bkurl, 160, 100);
			$this->view->form = $this->getFormVideo($source->getID(), 0, $this->_bktitle, $this->_bktext, $embed);
		} else {
			$this->view->form = $this->getForm('video');
		}
	}