Back to Magento2

Magento_ProductVideo module

app/code/Magento/ProductVideo/README.md

2.4.82.3 KB
Original Source

Magento_ProductVideo module

This module implements functionality related to linking video files from external resources to products.

Installation

Before installing this module, note that it is dependent on the following modules:

  • Magento_Catalog
  • Magento_Backend

The Magento_ProductVideo module creates the catalog_product_entity_media_gallery_value_video table in the database.

All database schema changes made by this module are rolled back when the module gets disabled and the setup:upgrade command is run.

For information about a module installation, see Enable or disable modules.

Extensibility

Extension developers can interact with the Magento_ProductVideo module. For more information about the extension mechanism, see Plugins.

The dependency injection mechanism enables you to override the functionality of the Magento_ProductVideo module.

A lot of functionality in the module is in JavaScript, use mixins to extend it.

Layouts

This module introduces the following layouts in the view/frontend/layout and view/adminhtml/layout directories:

  • view/adminhtml/layout
    • catalog_product_new
  • view/frontend/layout
    • catalog_product_view

For more information about a layout, see the Layout documentation.

UI components

This module extends the following UI components located in the view/adminhtml/ui_component directory:

  • product_form

For information about a UI component, see Overview of UI components.

Additional information

You can get more information at the following articles: