public function __construct(AbstractMarkupRenderingEngine $renderingEngine = null)
 {
     parent::__construct($renderingEngine);
     $this->transform('span');
 }
Ejemplo n.º 2
0
 /**
  * Create a new MediaInteractionRenderer object.
  *
  * @param \qtism\runtime\rendering\markup\AbstractMarkupRenderingEngine $renderingEngine
  */
 public function __construct(AbstractMarkupRenderingEngine $renderingEngine = null)
 {
     parent::__construct($renderingEngine);
     $this->setVideoTypes(array('video/mp4', 'video/webm', 'video/ogg'));
     $this->setAudioTypes(array('audio/mpeg', 'audio/ogg', 'audio/wav'));
     $this->setImageTypes(array('image/jpeg', 'image/gif', 'image/png', 'image/bmp', 'image/x-bmp'));
     $this->transform('div');
 }