Skip to content

Commit

Permalink
Moved some things
Browse files Browse the repository at this point in the history
  • Loading branch information
gheetdufa committed Jan 28, 2024
1 parent 51e7676 commit b7a9986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@

<div id="audioContainer">
<audio id="audio" controls>
<source src="./MarylandVictorySong.mov" type="audio/mp3">
<source src="public/MarylandVictorySong.mov" type="audio/mp3">
</audio>
<button id="audioButton" class="audio-button" onclick="toggleAudio()">Roll Terps!</button>
</div>

<script>
// Initialize the audio element with the source
const audio = new Audio('./MarylandVictorySong.mov');
const audio = new Audio('public/MarylandVictorySong.mov');

function drag(ev) {
ev.dataTransfer.setData("text/plain", ""); // Necessary for Firefox
Expand Down

0 comments on commit b7a9986

Please sign in to comment.