Hi - I noticed in the last couple updates our background video is not working within LayerSlider. The error being thrown has actually been happening in previous versions, but now it seems like it is preventing playback?
Our videos on Vimeo have to be set on private (rather, the whole account is a pro account and set to 'hidden'). Apparently there is a new API which can be used for this situation, see this reference:
Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
Unfortunately private or hidden Vimeo videos will likely not work properly in the slider due to the insufficient data and control provided by their API.
I'll send your link to the dev team, to see if there's something that can be used or implemented on our end.
LayerSlider already uses the new Vimeo API since v6.8.0, however we can only use the json solution to extract the metadata that we need. The reason for that is because otherwise we would need to register a Vimeo API key. Which we cannot do for two reasons:
1. The Vimeo API key registered by us would be only usable for our own private videos on our own account.
2. The Vimeo API contains such limitations that only allow 750 requests per minute for a video. Considering that LayerSlider is being actively used on more than 2 million websites, 750 is quite low. So it couldn't work everywhere for everyone at the same time.
This is why we chose the json method instead, which is free and accessible for all, but unfortunately it does not work with private videos.
We will look into other possible methods to work around this Vimeo API limitation, but unfortunately this is how it works at the moment.
Thank you for your patience. We've checked on this and it works in the back-end, because we do not use the Vimeo API for that. If you enter preview mode, it will likely not play anymore, same as the front-end where the Vimeo API is being used instead.
Unfortunately Vimeo does not provide proper support for cases like this. As mentioned, we will look into possible workarounds for the Vimeo API limitations but these are the current restrictions of Vimeo.
We've released a new plugin version today and it contains some video improvements that can adjust this. You will need to set a custom poster / thumbnail image for the video and the slider will be able to handle it now.
Thank you for your patience. The fix that we included to the latest release solved this problem for most users, but it indeed hasn't adjusted it on your end. It seems to be an edge case.
We will troubleshoot this further and provide you with a beta release of the next update that will adjust it for you too, so you don't have to wait until it comes out.
Until then, please try to solve the js error on your site, as we can see the recaptcha script causes that error. Also, we've noticed plugins on your site that are affecting and manipulating embedded media elements. If you do not need those, we'd recommend to turn them off temporarily. Both of these could affect the video and disrupt its behavior.
Hi - I noticed in the last couple updates our background video is not working within LayerSlider. The error being thrown has actually been happening in previous versions, but now it seems like it is preventing playback?
Our videos on Vimeo have to be set on private (rather, the whole account is a pro account and set to 'hidden'). Apparently there is a new API which can be used for this situation, see this reference:
https://github.com/sampotts/plyr/issues/1181
Hello Landlessfarm,
Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
Unfortunately private or hidden Vimeo videos will likely not work properly in the slider due to the insufficient data and control provided by their API.
I'll send your link to the dev team, to see if there's something that can be used or implemented on our end.
Awesome, I would appreciate that. FWIW it's working on our live site: https://onthemove.com
This one is version 6.7.6
Thank you for the feedback. I'll let you know what we've found.
Thank you for your patience.
LayerSlider already uses the new Vimeo API since v6.8.0, however we can only use the json solution to extract the metadata that we need. The reason for that is because otherwise we would need to register a Vimeo API key. Which we cannot do for two reasons:
1. The Vimeo API key registered by us would be only usable for our own private videos on our own account.
2. The Vimeo API contains such limitations that only allow 750 requests per minute for a video. Considering that LayerSlider is being actively used on more than 2 million websites, 750 is quite low. So it couldn't work everywhere for everyone at the same time.
This is why we chose the json method instead, which is free and accessible for all, but unfortunately it does not work with private videos.
We will look into other possible methods to work around this Vimeo API limitation, but unfortunately this is how it works at the moment.
Thank you for your understanding.
Thank you for the feedback. We'll check on it.
Thank you for your patience. We've checked on this and it works in the back-end, because we do not use the Vimeo API for that. If you enter preview mode, it will likely not play anymore, same as the front-end where the Vimeo API is being used instead.
Unfortunately Vimeo does not provide proper support for cases like this. As mentioned, we will look into possible workarounds for the Vimeo API limitations but these are the current restrictions of Vimeo.
Thank you for your understanding.
Hello Landlessfarm,
We've released a new plugin version today and it contains some video improvements that can adjust this. You will need to set a custom poster / thumbnail image for the video and the slider will be able to handle it now.
As we can see, you did not set a custom poster/thumbnail image for the video. The 404 request error is still there because of that.
Please add a custom poster/thumbnail image to your video, it should adjust the problem.
Thank you. My colleagues and I will look into this again to see what we can find, and get back to you shortly.
Thank you for your patience. The fix that we included to the latest release solved this problem for most users, but it indeed hasn't adjusted it on your end. It seems to be an edge case.
We will troubleshoot this further and provide you with a beta release of the next update that will adjust it for you too, so you don't have to wait until it comes out.
Until then, please try to solve the js error on your site, as we can see the recaptcha script causes that error. Also, we've noticed plugins on your site that are affecting and manipulating embedded media elements. If you do not need those, we'd recommend to turn them off temporarily. Both of these could affect the video and disrupt its behavior.