How do i write a html program playing a video when cursor is on video | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
+ 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