To make video play on hover, you can use this code to Website Tools > Code Injection > Footer.
Note: The code applies for Uploaded Video Only (Video Block).
<script>
window.addEventListener("load", (event) => {
const videosWrapper = document.querySelectorAll(".plyr__video-wrapper");
videosWrapper.forEach((wrapper) => {
const videoBackground = wrapper.querySelector(".plyr__poster");
videoBackground.addEventListener("mouseenter", () => {
const video = wrapper.querySelector("video");
video.muted = true;
video.play();
});
videoBackground.addEventListener("mouseleave", () => {
const video = wrapper.querySelector("video");
video.muted = true;
video.pause();
});
});
});
</script>