Return to cover image on video box when not hovering

And how do you apply this code :smiley: ? Ive started using wix studio Today… Barely getting grasp of anything but this sounds like a solution i need. Would appreciate a little more detailed instruction. All i need is Image that start playing video when hover and then goes back to image when mouse is outside. This works perfectly in Wix Editor… Don’t understand why not in the studio as well.