Add Support for Product Videos #2388
Labels
feature request
Requests for new features. Please be as specific as possible and provide proposal API if it you can
vs-hackathon
Tasks for the Hackathon
Milestone
What is the motivation for adding / enhancing this feature?
Magento 2 supports the ability to add videos in the product gallery. While editing the product you can add a video using a URL from YouTube or Vimeo. Vimeo is supported by default, but you need API key for YouTube to work. Magento uses the API to pull in the title, description, and a placeholder image for the video.
On the front-end of Magento's Luma theme it simply displays the video placeholder image as a product image in the gallery with a "play" icon over it. Once clicked the embedded video is displayed and played.
There are additional configurations available such as auto-starting the video, auto re-starting the video, and showing related videos.
What are the acceptance criteria
Can you complete this feature request by yourself?
Yes / Possibly.
Additional information
If anyone else takes this on before I get the chance, here is a sample JSON that is returned from the media API which contains an image, a YouTube video, and a Vimeo video.
The text was updated successfully, but these errors were encountered: