Create Lightbox With Video from Repeater

This is my current code

Button:
import wixWindow from ‘wix-window’ ;

export function button10_click ( event , $w ) {
let referencevid = $w ( ‘#vid1’ ). src
console . log ( referencevid )
wixWindow . openLightbox ( ‘Media’ , referencevid )
}

Lightbox:
import wixData from ‘wix-data’ ;
import wixWindow from ‘wix-window’ ;

let popup = wixWindow . lightbox . getContext ();
console . log ( ‘popup’ )
console . log ( popup )

$w . onReady ( function () {
$w ( “#dataset1” ). onReady (() => {
$w ( “#dataset1” ). setFilter ( wixData . filter (). eq ( “title” , popup ))
. then (() => {
let currentItem = $w ( ‘#dataset1’ ). getCurrentItem ();

            $w ( '#lbvid' ). src  =  currentItem . videoV 

        }) 
}) 

})

I can click the button and a video comes but not the one linked to the database.