Skip to content

Commit

Permalink
fixed video
Browse files Browse the repository at this point in the history
  • Loading branch information
Git21221 committed Jul 12, 2023
1 parent 2391a80 commit 6d23cc3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"image/jpeg": ["jpg", "jpeg"],
"image/gif": ["gif"],
"image/svg+xml": ["svg"],
"application/javascript": ["js"]
"application/javascript": ["js"],
"video/mp4": ["mp4"]
},
"liveServer.settings.port": 5501
}
Binary file removed img/bg.mp4
Binary file not shown.
Binary file added img/video.mp4
Binary file not shown.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
</div>
</nav>

<audio autoplay loop>
<!-- <audio autoplay loop>
<source src="/img/bgsound.mp3" />
</audio>
</audio> -->
<nav>
<div class="leftLogo">Virtual Galaxy</div>
<div class="rightText">
Expand Down
4 changes: 2 additions & 2 deletions rocket.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</head>
<body>
<div id="video-container">
<video loop controls>
<source src="img/bg.mp4" type="video/mp4">
<video autoplay muted>
<source src="img/video.mp4" type="video/mp4">
</video>
</div>
<script src="./script.js"></script>
Expand Down

0 comments on commit 6d23cc3

Please sign in to comment.