Collapse elements in a repeater with Null entry in database

The code would probably work if you were not using a repeater to do this in, like in the original example for if the video field is empty.
https://support.wix.com/en/article/corvid-tutorial-hiding-a-video-player-when-there-is-no-video-to-play

However, when you use a repeater you need to code it differently and for each container item itself, otherwise it will be applied to all repeater containers as you have got it.
https://www.wix.com/corvid/reference/$w.Repeater.html

If you searched before posting, you might have found your answer already…
https://www.wix.com/corvid/forum/community-discussion/collapse-empty-elements-in-a-repeater