I solved it using this tutorial https://support.wix.com/en/article/corvid-tutorial-hiding-a-video-player-when-there-is-no-video-to-play
Code I used is below if anyone else is similarly new as I am.
$w.onReady(() => {
$w("#dynamicDataset").onReady(() => {
const item = $w("#dynamicDataset").getCurrentItem();
if (!item.test) {
$w("#testtext").hide();
}
});
});