comparison music.html @ 39:35c68429641d

[music.html] Use updated libopenmpt committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Wed, 11 May 2022 03:10:12 -0400
parents d1032d82410c
children d5d97f45b103
comparison
equal deleted inserted replaced
38:3c9e7b1ef399 39:35c68429641d
5 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> 5 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
6 <script> 6 <script>
7 window['libopenmpt'] = {}; 7 window['libopenmpt'] = {};
8 8
9 libopenmpt.locateFile = function(filename) { 9 libopenmpt.locateFile = function(filename) {
10 return "//cdn.jsdelivr.net/gh/deskjet/chiptune2.js@a97e04cc7e98924f6ad17980d6eeca3f764378b5/" + filename; 10 return "./js/" + filename;
11 }; 11 };
12 12
13 libopenmpt.onRuntimeInitialized = function() { 13 libopenmpt.onRuntimeInitialized = function() {
14 var player; 14 var player;
15 15
50 loadURL(evt.target.getAttribute("data-modurl")); 50 loadURL(evt.target.getAttribute("data-modurl"));
51 }, false); 51 }, false);
52 }); 52 });
53 }; 53 };
54 </script> 54 </script>
55 <script type="application/javascript" src="https://cdn.jsdelivr.net/gh/deskjet/chiptune2.js@a97e04cc7e98924f6ad17980d6eeca3f764378b5/chiptune2.js"></script> 55 <script type="application/javascript" src="./js/chiptune2.js"></script>
56 <script type="application/javascript" src="https://cdn.jsdelivr.net/gh/deskjet/chiptune2.js@a97e04cc7e98924f6ad17980d6eeca3f764378b5/libopenmpt.js"></script> 56 <script type="application/javascript" src="./js/libopenmpt.js"></script>
57 <title>Music - Paper's website</title> 57 <title>Music - Paper's website</title>
58 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 58 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
59 <meta name="viewport" content="width=device-width, initial-scale=1.0"/> 59 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
60 <style> 60 <style>
61 @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300&display=swap'); 61 @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300&display=swap');