SAAS-650: Fix up player page UI in Airtime

This commit is contained in:
drigato 2015-03-16 13:24:58 -04:00
parent dc0855de18
commit 1f2f8a27a5
4 changed files with 14 additions and 5 deletions

View file

@ -34,8 +34,13 @@ class Application_Form_EmbeddablePlayer extends Zend_Form_SubForm
$embedSrc = new Zend_Form_Element_Text('player_embed_src');
$embedSrc->setAttrib("readonly", "readonly");
$embedSrc->setValue('<iframe frameborder="0" src="'.Application_Common_HTTPHelper::getStationUrl().'/embeddableplayer/embed-code?url='.$url.'&codec='.$codec.'"></iframe>');
$embedSrc->setAttrib("class", "embed-player-text-box");
$embedSrc->removeDecorator('label');
$this->addElement($embedSrc);
$previewLabel = new Zend_Form_Element_Text('player_preview_label');
$previewLabel->setLabel("Preview:");
$this->addElement($previewLabel);
}
}