public function renderFlash(MediaInterface $flash, array $params = [])
    {
        if ($flash->getType() !== MediaTypes::FLASH) {
            throw new \InvalidArgumentException('Expected media with "flash" type.');
        }

        $params = array_merge([
            //'responsive' => false,
            'attr'       => [
                'id'     => 'media-flash-' . $flash->getId(),
                'class'  => 'swf-object',
                //'classid' => 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000',
                'height' => '100%',
                'width'  => '100%',
            ],
        ], $params);

        return $this->elementTemplate->renderBlock('flash', [
            'src'  => $this->getDownloadUrl($flash),
            'attr' => $params['attr'],
        ]);
    }