protected function extractConfiguration(DOMElement $embed)
    {
        $hash = [];
        $configElements = $embed->getElementsByTagName('ezconfig');

        if ($configElements->length) {
            $hash = $this->extractHash($configElements->item(0));
        }

        return $hash;
    }