small change to player form
This commit is contained in:
parent
7744e6b656
commit
8198d89095
|
@ -17,5 +17,5 @@ class EmbeddablePlayerController extends Zend_Controller_Action
|
||||||
public function embedCodeAction()
|
public function embedCodeAction()
|
||||||
{
|
{
|
||||||
$this->view->layout()->disableLayout();
|
$this->view->layout()->disableLayout();
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -10,7 +10,6 @@ class Application_Form_EmbeddablePlayer extends Zend_Form_SubForm
|
||||||
|
|
||||||
$embedSrc = new Zend_Form_Element_Text('player_embed_src');
|
$embedSrc = new Zend_Form_Element_Text('player_embed_src');
|
||||||
$embedSrc->setAttrib("readonly", "readonly");
|
$embedSrc->setAttrib("readonly", "readonly");
|
||||||
$embedSrc->setAttrib("class", "player_embed_src");
|
|
||||||
$embedSrc->setValue('<iframe frameborder="0" src="http://localhost/embeddableplayer/embed-code"></iframe>');
|
$embedSrc->setValue('<iframe frameborder="0" src="http://localhost/embeddableplayer/embed-code"></iframe>');
|
||||||
$embedSrc->removeDecorator('label');
|
$embedSrc->removeDecorator('label');
|
||||||
$this->addElement($embedSrc);
|
$this->addElement($embedSrc);
|
||||||
|
|
Loading…
Reference in New Issue