/** * Implements __construct(). * * @param string $url * URL. * @param string $stillURL * URL. */ public function __construct($url, $stillURL) { parent::__construct('video'); $this->setUrl($url); $this->setStillURL($stillURL); }
/** * Implements __construct(). * * @param string $url * URL. */ public function __construct($url) { parent::__construct('image'); $this->setUrl($url); }