+ 2

How do i write a html program playing a video when cursor is on video

Cursor is on video

1st Feb 2019, 5:06 AM
dhanu dhanushya
1 ответ
+ 3
<video onmouseover="this.play();"> <source src="VIDEO_SRC" type="VIDEO_TYPE"/> </video> I think that this will work, but I haven’t tried it yet.
1st Feb 2019, 5:39 AM
Rowsej
Rowsej - avatar