Magento 2 Video PlayerMagento 2 Video Player
Live Demo
Buy Now
Support
Live Demo
Buy Now
Support
  • Getting Started

    • Introduction
    • Requirements
    • Installation
    • Activation
  • Store Configuration & Admin

    • Module Configuration
    • Catalog Product Video
    • Mass Video Upload
  • Customer Storefront Experience

    • Storefront Video Player
  • Hyvä Theme Compatibility

    • Hyvä Theme Support
  • Help & Support

    • Troubleshooting
    • FAQ

Mass Video Upload

The Mass Upload Product Videos feature allows store administrators to bulk attach product videos and corresponding feature images to multiple products simultaneously using a CSV spreadsheet and ZIP media archives.

This feature is ideal for stores with extensive catalog inventories that require setting up video demonstrations across hundreds or thousands of SKUs in a single batch operation.


Accessing Mass Upload

  1. In the Magento Admin sidebar, locate and click the Video Player navigation menu.
  2. Select Mass Upload Product Videos.

Mass Upload Product Videos


File Requirements & Configuration

The mass upload interface provides three upload fields:

1. Upload CSV File

A standard CSV file mapping each video and image asset to a specific product SKU.

CSV Column Structure

The CSV file should include the following header columns:

Column NameDescriptionExample Value
skuUnique identifier for the Magento productWB01-BLUE-S
video_sourceSource type (upload or url)upload
video_fileFilename inside the Video ZIP, or full external URLwb01-demo.mp4 or https://cdn.example.com/demo.mp4
video_titleDescriptive title for the videoRunning Jacket Waterproof Test
video_descriptionDetailed description text for the video info overlayDemonstration of waterproof Gore-Tex fabric in heavy rain.
preview_imagePoster thumbnail image filename inside Image ZIPwb01-thumb.jpg
download_enableWhether storefront download is enabled (1 = Yes, 0 = No)1
rolesMedia roles separated by commaimage,small_image,thumbnail

Sample CSV File Content:

sku,video_source,video_file,video_title,video_description,preview_image,download_enable,roles
"24-MB01","upload","backpack-demo.mp4","Crown Summit Backpack Demo","Durable backpack walkthrough","backpack-thumb.jpg","1","image,small_image,thumbnail"
"24-WB04","url","https://www.youtube.com/watch?v=dQw4w9WgXcQ","Yoga Mat Overview","Eco-friendly mat demonstration","yoga-mat-thumb.jpg","0","image,small_image,thumbnail"
"24-WG08","url","https://cdn.example.com/videos/watch-specs.mp4","Endurance Watch Features","Water resistance demonstration","watch-thumb.jpg","1","image,small_image,thumbnail"

2. Upload Video ZIP File

A compressed .zip archive containing all local video files referenced in the video_file column of your CSV:

  • Ensure all files are placed in the root of the ZIP file (do not wrap them in subfolders).
  • Supported video formats: .mp4, .webm, .mov, .wmv, .flv, .mkv, .3gp.

3. Upload Image ZIP File

A compressed .zip archive containing all poster preview images referenced in the preview_image column of your CSV:

  • Supported image formats: .jpg, .jpeg, .png, .webp.

Archive Directory Structure:

# product_videos.zip
├── backpack-demo.mp4
└── endurance-watch.webm

# product_images.zip
├── backpack-thumb.jpg
└── watch-thumb.jpg

Execution Steps

  1. Select your prepared CSV file under Upload CSV File.
  2. Select your compressed video archive under Upload Video Zip File.
  3. Select your compressed image archive under Upload Image Zip File.
  4. Click Save in the top navigation bar.
  5. The system parses the CSV rows, validates product SKUs, extracts media files into the Magento media directory (pub/media/), and attaches each video record to the corresponding product.

Post-Import CLI Commands

After completing a mass upload, execute reindexing and cache flush commands to ensure all catalog products immediately reflect the new video media:

php bin/magento indexer:reindex
php bin/magento cache:flush
Prev
Catalog Product Video