We have a YTshort/Insta reel like feature wherein the video autoplays indefinitely. Its an RG.
I am using VideoPlayer plugin by zeroqode for this.
I want to automatically move to the next index or next video when the current video plays till the end or finishes playing. We would also like the ability to see the number of the active cell [video] and the ability to move to the next or return to the previous one. How do i implement this?
Have explained the issues and requirements here: Feed
I have tried a combination of JS code and Javascript to Bubble trigger, but it is not recognizing the code.
Note: The provided JavaScript is optimized for debugging, so you can better understand what’s happening in the console. You’ll see logs indicating when the script is loaded and when a scroll event is detected.
Create a Workflow to Detect Scroll Changes
In Bubble Workflows, set up conditions: “Do when Input’s value is ‘next’” → Play Next Video “Do when Input’s value is ‘prev’” → Play Previous Video
Further on this, i want to be able to do a couple more things:
When it auto scrolls to the next video, the next video should autoplay. I tried doing this using the available action “Play New VideoPlayer”, but it doesnt seem to work.
I want to have the ability to swipe up or down when holding the left key in mouse in desktop. I want to be able to have the swap animation here so that it doesnt keep scrolling and stops after every 1 scroll [like in YT shorts or Instagram reels]
For the “Play New VideoPlayer” action, could you please try opening the debugger and confirming if the event “When condition is true” is being triggered?
It seems like the condition might not be met. For testing purposes, we highly recommend creating a clean page with a simple condition to better understand how it works. You can also check out our documentation for more details on this workflow action: Video Player Plugin Documentation
Regarding your second request, as demonstrated in the previous example, you can achieve this effect using a JavaScript script. However, please note that we provide general support related to plugin issues and fixes. If you need assistance with plugin or app customization, you can read more about how our customization services work here: Zeroqode Development Services
For reference, you can explore some of our completed projects: Our Portfolio
You can also see what our customers say about working with us: Reviews
If you’re interested in customization assistance, please send us a request with your project details, and one of our managers will get back to you: Get Started with Zeroqode