0

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

  • Can you please post the error message – Raj Mohan R Jul 4 at 6:07
  • Attention Error: "Video not found" <=== already mentioned sir. thanks – sarvesh Dineshkumar Patel Jul 4 at 6:54
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

  • Yes i did that but still not works. – sarvesh Dineshkumar Patel Jul 4 at 9:03
  • what is your magento version? did you try with a different video? – SantiBM Jul 4 at 12:06
  • Version Magento 2.3.1 and yes I tried sir – sarvesh Dineshkumar Patel Jul 4 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 – SantiBM Jul 4 at 14:01
  • Thank you I will check it, sir – sarvesh Dineshkumar Patel Jul 5 at 3:33

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.