I am trying to add Vimeo video on Magento’s product details page, so initially while adding video from admin I was getting error as “Video not found” so I applied the solution given at:
https://github.com/magento/magento2/pull/31767/files
Then still my video was not displaying on front end so I applied the solution from here:
Now when I checked it loads the video thumbnail with Play icon but clicking on play gives an error as per screenshot:
After more debugging I found that the URL generated for iframe to load video is something like this:
http://vimeo.com/embed/videoid
Which won’t work, as it should be
https://player.vimeo.com/video/videoid
If I use this url by changing iframe source manually on loaded page, it works fine, but I am not sure form where Magento is generating that embed url which is not working, tried searching load-player.js file in Magento_ProductVideo , tried searching fotoroma js files also, and other folder I could think of, but nothing helped.
