1

I saw having option to add video from Vimeo and Youtube.

Can i upload video directly from admin product page?

Please let me know.

0

You need to generate the Youtube and Vimeo API keys in order to embed videos. You can configure the API key in Stores->Configuration->Catalog->Product Video. Once saved you can go to your admin product page. You can find Add Videos in Images and Videos section. You can add the video URL, title, description and preview image there. Save it and check the frontend to see the video.

Update:

You can directly add a video by creating a custom module or you can add the video in Content Section of your product page in Admin. You can add the video directly in your media folder and then embed it using video tag.

<video controls="controls" width="800" height="400">
  <source src="{{media url='/catalog/file_name.mp4'}}" type="video/mp4" />
  <source src="movie.ogg" type="video/ogg" />
</video>
  • Yeah, i refer that. I like to know upload video directly to product page with out using in Youtube and Vimeo URL – Priya Apr 3 at 12:13
  • Please find the updated answer – Raj Mohan R Apr 3 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.