Web Performance Exploring Video Hosting The Art of Compromise: How Lossy Compression Works Understanding the ‘Image Loading Error’: Comprehensive Guide A Comprehensive Guide to Resizing Images on iOS VBR vs CBR: Understanding Bitrate for Optimal Media Handling Displaying Images with Python’s Top 5 Image Libraries 4 Ways to Add Images to GitHub README + 1 Bonus Method Converting Images with Python JavaScript Image Optimization Techniques Building an Image Picker in React with react-native-image-crop-picker 6 Ways to Save Images in Python 5 Ways to Import Images in React + Bonus Automation Method Extract Text from Images in Python with Pillow and pytesseract Downloading Image from URL in Python: 5 Ways with Code Examples Image.open Python Function: Syntax and Quick Tutorial Complete Guide to Video SEO & Automating It With Cloudinary A Complete Guide To Website Image Optimization Video Encoding: How It Works, Formats & Best Practices The Developer’s Guide to PDFs Integrating Cloudinary With Gatsby For Image Optimization Mastering Image Optimization With Netlify And Cloudinary Seamlessly Integrate Cloudinary With Netlify For Optimised Website Assets Ultimate Guide to Asset Optimization Using Cloudinary and Netlify Adding Video To Magento Understanding Magento Media Adding a Video Widget to Your Website: What You Need to Know SDR vs. HDR: Differences and 5 Considerations for Content Creators Audio Manipulation In PHP Image Management Systems: Key Capabilities and Best Practices Video CDN: Why You Need It and Top 5 Video CDNs Video Optimization: Why You Need It and 5 Critical Best Practices Multi CDN: 8 Amazing Benefits, Methods, and Best Practices What Is an Optimized Website and 6 Ways to Optimize Yours Understanding Image Hosting for Websites Sprite Generation with CSS and 4 Automated Tools 8 Image SEO Optimization Tips to Improve Your Search Rankings Website Speed: 5 Reasons Your Site is Slow and How to Fix It Web Performance: What is it, Trends and Insights for 2024

Adding Video To Magento

magento 2 add video to product gallery

Adding videos is one of the best ways to provide engagement with your customers as well as update them on product launches. Delivering a memorable and engaging customer experience is the key to success. Videos play a crucial role in achieving this, as they dynamically showcase your products and increase conversion rates by providing instant visual information on product features, benefits, and functionality. 

With the rise of social media platforms and mobile devices, videos have become the most preferred form of content consumption, making them an essential tool for connecting with customers and driving sales. And within Magento, you can utilize videos to the fullest, catching your customers and driving sales.

However, adding and managing video content on Magento isn’t always easy, especially when you need to do it at scale. This article will detail how to add and edit videos within Magento, ensuring you make the most of this powerful medium to impress your customers and elevate your e-commerce experience.

How To Add Images Via Products

Strategically placed images on your Magento product page can dramatically boost the effectiveness of your online store. Images breathe life into your products by providing a visually appealing showcase and imparting critical information about product features, sizes, colors, and more. To add videos to your Magento store, you want to navigate Catalog Products.  From this point, you can click on the product you wish to add to your video. 

Once you are within the ‘Edit Product’ page, you will need to scroll down to a section labeled “Image And Videos”.

magento 2 add video to product gallery image

You will see a button labeled “Add Video” toward the right side of this section. Click on this button, and you will be able to manually enter a video by URL. as shown in the image below:

Upon entering the page, you will be presented with a few options:

  • URL
  • Title
  • Description 
  • Preview Image

Note: Two Key Points

1.) These fields usually populate once you enter the video URL.
2.) For YouTube videos, you’ll need to use an API key

Before You Enter Video URL:

magento_2_add_video_to_product_gallery

After Adding Your Video URL:

magento 2 add video to product gallery header

As you can see, the video settings auto-populate for you. From this point, you can save, and you’re all set!

Adding Magento Videos To Content Pages

In order to upload videos to your content or product pages, you’ll use the Page Builder within your Magento admin dashboard. When using this interface, it’ll request a URL for your video instead of allowing you to upload videos. 

When you are ready to add videos, you will select “Content → CMS Block” on the left side navigation. Choose the CMS block you wish to add content to or create one if you are starting from scratch.

magento 2 add video to product gallery

Once you’re in the edit page for your CMS block, scroll down to the “Edit Video” section:

magento 2 add video to product gallery

Before you attempt to add your video, you’ll need to create a ‘Row’ that will hold your content. Using the left navigation in the Page Builder, select “Layout → Row” and place it in the specific area of your page that you want it to stay.

In this example, we created a new page to move the ‘Row’ block to the top. With your row created, now you can select “Media → Video” to add the Video widget to your content row. 

magento 2 add video to product gallery

In order to edit your video, you’ll have to move your cursor over the newly added video block. You will see a tooltip allowing you to add or edit your video. Click on the cog, and you’ll see the video content settings. However, please remember these videos must be an .mp4 for them to work with Magento.

Once you have the video URL, enter it into the “Video URL” field and review the other settings before saving. When you’re done with your video settings, click Save in the top right. And that’s it!

magento 2 add video to product gallery

Now, you know how to add videos to your product gallery and display them on content pages. The question is, what if you want a solution to allow a more flexible environment to upload, store, edit, and transform your videos?

A More Reliable Way To Add Videos To Your Magento Store

While Magento is capable of serving videos to your visitors via the edit page or page builder, Magento is not built for image and video rendering and storage. What you can use, however, is third-party tools like Cloudinary. It’s a full-service image and video platforming service that offers control over storage, deliverability, and optimization. 

In order to add videos via Cloudinary, you need to do two things first:

  1. Create a Cloudinary account (it’s free!)
  2. Download Our Magento Extension

Once that’s out of the way, you’ll need to configure everything through System → Configuration → Cloudinary Settings. After that, you’ll see the ‘Add From Cloudinary’ option.

magento 2 add video to product gallery

From this point on, you’ll see the Cloudinary interface is tied to your account. Now, you can upload videos, and once you select one, you’ll see the option to insert it into your product or CMS page.

magento 2 add video to product gallery

The great thing about this interface is that it allows you to transform videos. Simply select a video by right-clicking, and you’ll see the following:

magento 2 add video to product gallery

After you click ‘Advanced Editing’ you will see an interface that will allow you to transform the appearance of your video, allowing you full visual control unlike Magento.

magento 2 add video to product gallery

Want to crop a video or change the format? No problem! With Cloudinary, nothing is impossible.

When you are done, you simply click Insert to insert the video from the Cloudinary Library to your product or content page.

magento 2 add video to product gallery

Once you are done, you’ll be returned to the Magento admin where you can save the product or content page you were adding video to. 

Wrapping Up

The power of videos in e-commerce cannot be understated, dramatically transforming the customer experience by providing rich, detailed, and engaging views of products. Videos in e-commerce platforms have revolutionized shopping experiences, bridging the gap between virtual and physical stores by providing comprehensive, engaging, and instant product insights. 

Transform your Magento store today by seamlessly integrating captivating videos, and leverage Cloudinary’s robust features to optimize your multimedia content. Explore the vast possibilities that Cloudinary offers and take your e-commerce business to the next level. Remember, the quality and effectiveness of your multimedia content can make or break the customer shopping experience, so make it count with Cloudinary!

QUICK TIPS
Tamas Piros
Cloudinary Logo Tamas Piros

In my experience, here are tips that can help you better manage and optimize video content in your Magento store:

  1. Leverage Cloudinary’s adaptive bitrate streaming
    Use adaptive bitrate streaming to ensure that videos on your Magento store play smoothly across all devices and network conditions. Cloudinary automatically adjusts the video quality based on the user’s connection, preventing buffering and ensuring a consistent viewing experience.
  2. Optimize video delivery with Cloudinary’s CDN
    Pair your video hosting with Cloudinary’s global CDN to deliver videos quickly from the closest server to the user. This reduces latency, ensuring faster load times and a smoother user experience, especially important for high-definition content.
  3. Use video placeholders for better performance
    Implement low-resolution video placeholders that load quickly while the full video is being fetched. This technique, available through Cloudinary, enhances the perceived performance and keeps users engaged while the main content loads.
  4. Automate video SEO with structured data
    Automatically generate video metadata and apply structured data tags (like JSON-LD) using Cloudinary’s API. This boosts your video content’s visibility in search engines, helping to improve your Magento store’s overall SEO ranking.
  5. Incorporate video analytics to refine content strategy
    Integrate Cloudinary’s analytics tools to track how users interact with videos on your Magento store. Analyze metrics such as play rate, watch time, and drop-off points to understand what resonates with your audience and refine your video content strategy.
  6. Enable cross-device compatibility with responsive videos
    Ensure that videos in your Magento store are responsive by using Cloudinary’s dynamic transformation capabilities. This guarantees that your videos look great on any device, from desktops to smartphones, adjusting automatically to different screen sizes.
  7. Simplify video management with Cloudinary’s DAM features
    Utilize Cloudinary’s Digital Asset Management (DAM) features to organize, search, and retrieve video assets efficiently. This is especially useful when managing a large number of product videos across various categories in your Magento store.
  8. Utilize video captions and subtitles for accessibility
    Enhance the accessibility of your video content by adding captions and subtitles. Cloudinary supports multiple subtitle formats, making it easy to provide captions in different languages, improving accessibility and user experience.
  9. Apply video transformations for branding consistency
    Use Cloudinary’s video transformation tools to apply consistent branding elements such as logos, watermarks, or color filters across all videos in your Magento store. This helps maintain a uniform brand appearance, enhancing brand recognition.
  10. Regularly test video performance on various platforms
    Test how your videos perform across different browsers, devices, and connection speeds. Cloudinary’s testing tools allow you to preview videos under various conditions, ensuring that all customers have a smooth and engaging experience regardless of their setup.

These tips will help you effectively integrate and optimize video content in your Magento store, ensuring that your videos enhance the user experience, improve SEO, and drive higher conversions.

Last updated: Aug 24, 2024