Hey guys - does anyone know if any of the video player plugins have a “if video is not playing” kind of condition?
For context - I want to have a background video playing in my hero, and I know that there are issues with that when a user is in low power mode on their phone.
Right now I’ve just set it so that the video isn’t visible below a certain page width and that a fallback image appears, but that means removing the video from ALL mobile visits. If I was able to identify when a video isn’t playing and then base the visibility on that, I could have the video still appear when the user is on mobile and there isn’t anything blocking the autoplay.
I’ve seen one plugin that has a “when a video is paused” condition and action, but that seems to require the user to actively pause it, rather than it being blocked from autoplaying.
Is there a plugin that can do this? If not - anybody know how it could be achieved?