+18
audio-credits.html
+18
audio-credits.html
···
1
+
<!DOCTYPE html>
2
+
<html>
3
+
<head>
4
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+
<meta charset="utf-8" />
6
+
<meta name="viewport" content="width=device-width" />
7
+
<meta http-equiv="x-ua-compatible" content="ie=edge" />
8
+
<link rel="stylesheet" href="style.css" media="screen" />
9
+
<link href="fonts/righteous.css" rel="stylesheet" type="text/css" />
10
+
<link href="fonts/quicksand.css" rel="stylesheet" type="text/css" />
11
+
<script src="scripts/modernizr.js"></script>
12
+
<script src="scripts/showdown.min.js"></script>
13
+
<script src="https://unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
14
+
<script src="scripts/audio-credits.js" type="module"></script>
15
+
<title>C/B/F - Audio Credits</title>
16
+
</head>
17
+
<body></body>
18
+
</html>
+51
scripts/audio-credits.js
+51
scripts/audio-credits.js
···
1
+
import getBase from './base.js';
2
+
import getProject from './project.js';
3
+
import parseMarkdown from './markdown.js';
4
+
import setupNavAnim from './nav_anim.js';
5
+
import setupLink from './link_setup.js';
6
+
7
+
function getProjectName() {
8
+
var lookup = window.location.hash.substring(1);
9
+
10
+
if (lookup == 'fourWoods-s1e1') {
11
+
return 'The Four Woods S1E1 - Call of the Ocean';
12
+
}
13
+
14
+
return '';
15
+
}
16
+
17
+
function getAudioCredits() {
18
+
var lookup = window.location.hash.substring(1);
19
+
20
+
if (lookup == 'fourWoods-s1e1') {
21
+
return `
22
+
<h3>Music</h3>
23
+
<p class="markdown">Darkest Child by Kevin MacLeod \nLink: [https://incompetech.filmmusic.io/song/3615-darkest-child](https://incompetech.filmmusic.io/song/3615-darkest-child) \nLicense: [https://filmmusic.io/standard-license](https://filmmusic.io/standard-license)\n\nDarkling by Kevin MacLeod \nLink: [https://incompetech.filmmusic.io/song/3616-darkling](https://incompetech.filmmusic.io/song/3616-darkling) \nLicense: [https://filmmusic.io/standard-license](https://filmmusic.io/standard-license)\n\nDark Walk by Kevin MacLeod \nLink: [https://incompetech.filmmusic.io/song/3612-dark-walk](https://incompetech.filmmusic.io/song/3612-dark-walk) \nLicense: [https://filmmusic.io/standard-license](https://filmmusic.io/standard-license)\n\nIndustrial Cinematic by Kevin MacLeod \nLink: [https://incompetech.filmmusic.io/song/3909-industrial-cinematic](https://incompetech.filmmusic.io/song/3909-industrial-cinematic) \nLicense: [https://filmmusic.io/standard-license](https://filmmusic.io/standard-license)\n\nSolace by Scott Buckley [https://soundcloud.com/scottbuckley](https://soundcloud.com/scottbuckley) \nCreative Commons — Attribution 3.0 Unported — CC BY 3.0 \nFree Download / Stream: [https://bit.ly/s-b-solace](https://bit.ly/s-b-solace) \nMusic promoted by Audio Library [https://youtu.be/x8h50E6ekR0](https://youtu.be/x8h50E6ekR0)\n\nTimeless by Neutrin05 [https://soundcloud.com/neutrin05](https://soundcloud.com/neutrin05) \nCreative Commons — Attribution 3.0 Unported — CC BY 3.0 \nFree Download / Stream: [http://bit.ly/\\_-timeless](http://bit.ly/_-timeless) \nMusic promoted by Audio Library [https://youtu.be/\\_6kFem21DxU](https://youtu.be/_6kFem21DxU)\n\nTrio for Piano, Cello, and Clarinet by Kevin MacLeod \nLink: [https://incompetech.filmmusic.io/song/4547-trio-for-piano-cello-and-clarinet](https://incompetech.filmmusic.io/song/4547-trio-for-piano-cello-and-clarinet) \nLicense: [https://filmmusic.io/standard-license](https://filmmusic.io/standard-license)\n\nVirtutes Instrumenti by Kevin MacLeod \nLink: [https://incompetech.filmmusic.io/song/4590-virtutes-instrumenti](https://incompetech.filmmusic.io/song/4590-virtutes-instrumenti) \nLicense: [https://filmmusic.io/standard-license](https://filmmusic.io/standard-license)</p>
24
+
<h3>Sound Effects</h3>
25
+
<p class="markdown">Cave Ambience Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/LittleRobotSoundFactory)\n\nDoor Close Sound Effect licensed under the Creative Commons 3.0 Attribution license [here](https://freesound.org/people/InspectorJ)\n\nDoor Open Sound Effect licensed under the Creative Commons 3.0 Attribution license [here](https://freesound.org/people/InspectorJ)\n\nDrawer Open Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/dersuperanton)\n\nConcrete Footsteps Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/InspectorJ)\n\nKeyboard Typing Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/GeorgeHopkins)\n\nLibrary Ambience Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/Meepalicious)\n\nMagic Sparkle Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/RICHERlandTV)\n\nNoisy Street Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/Tomlija)\n\nOutdoor Ambience Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/daenerys)\n\nPaper Rustling Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/vedas)\n\nWater Splashing Sound Effect licensed under the Creative Commons 3.0 Attribution License [here](https://freesound.org/people/dobroide)</p>
26
+
`;
27
+
}
28
+
29
+
return '';
30
+
}
31
+
32
+
(function() {
33
+
document.body.innerHTML = getBase(false, false, false, false);
34
+
var projectName = getProjectName();
35
+
var audioCredits = getAudioCredits();
36
+
document.querySelector('.site-content').innerHTML = `
37
+
<div class="page-desc">
38
+
<h1>Audio Credits - ${projectName}</h1>
39
+
${audioCredits}
40
+
</div>
41
+
`;
42
+
43
+
setupNavAnim(document);
44
+
parseMarkdown(document);
45
+
46
+
setTimeout(() => {
47
+
document.body.classList.add('loaded');
48
+
}, 150);
49
+
50
+
setupLink(document);
51
+
})();