<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Greyson | Landing Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<style>
#particles-js {
width: 100%;
height: 100%;
position: absolute;
background-image: url('');
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
}
</style>
</head>
<body>
<div id="particles-js"></div>
<script src="js/particles.js"></script>
<script>
particlesJS.load('particles-js', 'js/particles.json', function() {
console.log('Particles Loaded')
})
</script>
<video autoplay loop id="video">
<source src="videos/video.mp4" type="video/mp4">
</video>
</body>
</html>
ParticlesJS正在出现,但没有像它应该的那样进行交互。我认为这与视频标签的位置有关,但不确定。一种新的html和css;)