0

When I am trying to add video using Vimeo URL that time alert message comes. so please give me a better solution.

asked Jul 4, 2019 at 4:21
3
  • Can you please post the error message Commented Jul 4, 2019 at 6:07
  • Attention Error: "Video not found" <=== already mentioned sir. thanks Commented Jul 4, 2019 at 6:54
  • this worked for me on version 2.3.4 github.com/magento/magento2/commit/… Commented Mar 21, 2021 at 18:00

1 Answer 1

0

What magento2 version are you using? Just pasted this Vimeo video url in a Magento 2.3.1 and works perfectly: https://player.vimeo.com/video/298200022

That url comes from the sharing Iframe box, check the image:

enter image description here

It seems that some vimeo videos are available trough the api and some others aren't, for example:

This video is not available through the url Magento2 uses to get it:
https://player.vimeo.com/video/295556470
Magento calls: https://vimeo.com/api/v2/video/295556470.json
curl -I https://vimeo.com/api/v2/video/295556470.json == 404 Not Fount

This other one is available:
https://player.vimeo.com/video/298200022
Magento calls: https://vimeo.com/api/v2/video/298200022.json
curl -I https://vimeo.com/api/v2/video/298200022.json == 200 OK

If we use a video that returns a 404 the message Video Not Found is then triggered, so you have to make sure the video you are trying to use is available through the Api, probably this is a setting for the video in Vimeo

answered Jul 4, 2019 at 8:20
7
  • Yes i did that but still not works. Commented Jul 4, 2019 at 9:03
  • what is your magento version? did you try with a different video? Commented Jul 4, 2019 at 12:06
  • Version Magento 2.3.1 and yes I tried sir Commented Jul 4, 2019 at 12:14
  • Try adding some breakpoints in this file which is the one throwing the error: vendor/magento/module-product-video/view/adminhtml/web/js/get-video-information.js Commented Jul 4, 2019 at 14:01
  • Thank you I will check it, sir Commented Jul 5, 2019 at 3:33

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.