Log in
Model

VideoExtractor

Magento\ProductVideo\Model\VideoExtractor

What it does

This class extracts video configuration data from XML DOM structures during the parsing of view.xml configuration files.

Developers use this class when defining video media types in their module's view.xml, as it processes video nodes and converts them into an array structure that Magento can use to configure product videos.

Public Methods

  • process()