Hey @oleksiy
I took a quick look at your app and I think itâs giving you trouble because the popup is a reusable element, which contains a repeating group - making it a little tricky to ensure the data source gets reset. Itâs possible to set it up in that way, but I think it may be easier to not have it be a reusable element. I didnât want to alter your setup, so I created a new page in your app called âtestâ:
Editor Link:
https://bubble.io/page?type=page&name=test&id=testmyappp&tab=tabs-1
Preview Link:
https://testmyappp.bubbleapps.io/version-test/test
On this page, once Watch is clicked, that cellâs Video data is displayed in the popup:
The setup for the popup is:
*The data source is empty by default, so that when it resets once the popup is closed, it doesnât continue to play a video. The data source is only not empty when data is sent to it after clicking âWatchâ.
Here the data source of the video player is the Parent Group Popupâs data source, which is displayed depending on which repeating group Video cell the User just clicked on.
And in preview mode the page looks like this:
When Watch is clicked, the selected video is displayed in the popup and plays automatically:
When the User clicks out of the popup, the popup âresetsâ, and the video stops, when the popup is closed.
Iâm not sure if the video will automatically resize when the phone screen is rotated, but I think it should as long as the popup is not set to fixed width. If it doesnât, we can try to get that part working as well!
And that should do it Feel free to let me know if you have any questions!