LoadUserCodeError: Failed to Import user code script

Question:
[Error.]

Dev Velo:
[. Wix Editor]

What are you trying to achieve:
[Slow a video clip over an image when an image is in viewport.]

What have you already tried:
[LoadUserCodeError: Failed to import user code script: Failed to execute ‘importScripts’ on ‘WorkerGlobalScope’: The script at ‘https://db85c5de-8e07-42a8-a5b2-82f262527f6c.dev.wix-code.com/pages/c1dmp.js?viewMode=preview&instance=wixcode-dev.79e705734260220f82fd5304c225b32e945086b5.eyJpbnN0YW5jZUlkIjoiZGI4NWM1ZGUtOGUwNy00MmE4LWE1YjItODJmMjYyNTI3ZjZjIiwiY29ycmVsYXRpb25JZCI6IjY0NWU2NTc2LTcxOTEtNDU1Zi05ZjQ3LTFmZTdlZGM0ODhmNSIsInNlc3Npb25VSWQiOiI2YmIxMTIxYy1lNzEyLTRjNjktYjcyNS1iOGUzMmQ3YmE1NTQiLCJpc1RlbXBsYXRlIjpmYWxzZSwic2lnbkRhdGUiOjE3MTA0NDA1MzY0MTQsInNpdGVNZW1iZXJJZCI6IjZiYjExMjFjLWU3MTItNGM2OS1iNzI1LWI4ZTMyZDdiYTU1NCIsInVpZCI6IjZ...OWQ3LTkwMjQtNGMzZC1hM2RjLWJjMzM3YWUxZjgxMCIsImNhY2hlIjpudWxsLCJleHBpcmF0aW9uRGF0ZSI6IjIwMjQtMDMtMTRUMjI6MjI6MTYuNDE0WiIsInNpdGVPd25lcklkIjoiNmJiMTEyMWMtZTcxMi00YzY5LWI3MjUtYjhlMzJkN2JhNTU0IiwiaW5zdGFuY2VUeXBlIjoiZGV2IiwicGVybWlzc2lvblNjb3BlIjpudWxsfQ==&gridAppId=a8e587c2-7f99-4570-affb-2370a6b4b32d&analyze-imported-namespaces=true&init-platform-api-provider=true&get-app-def-id-from-package-name=false&disable-yarn-pnp-mode=false&bundler-traffic-to-aws=false&dependencies-token=3938&cache-buster=cachebuster2’ failed to load.]

Additional information:
[my code
export function videoPlayer1_ended(event) {
$w(‘#videoPlayer1’).hide
// Add your code for this event here:
}

export function image3_viewportEnter(event) {
$w(‘#videoPlayer1’).show ;/
console.log($w(‘#videoPlayer1’).isVisible);
// Add your code for this event here:
}
]

You should use $w(“#elementId”).show() or .hide()

You need parentheses after methods. Show and hide is a method and you need to call them to let them work.