We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a393bf commit 4a5d996Copy full SHA for 4a5d996
video.html renamed to hover-video-com-javascript.html
@@ -16,17 +16,6 @@
16
17
<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script>
18
<script>
19
- /*JQuery*/
20
- /*
21
- var $video = $('#video');
22
- $video.on('mouseenter focus', function(){
23
- $video.get(0).play();
24
- });
25
- $video.on('mouseout blur', function(){
26
- $video.get(0).pause();
27
28
- */
29
-
30
/*Javascript*/
31
var video = document.getElementById('video')
32
video.addEventListener('mouseover', function() {
@@ -38,4 +27,4 @@
38
}, false);
39
</script>
40
</body>
41
-</html>
+</html>
0 commit comments