Skip to content

GitHub Page not Playing Audio!! #88495

Answered by seyLu
Dev-Jago asked this question in Pages
Discussion options

You must be logged in to vote

Hi @Dev-Jago,

URLs are generally case-sensitive.

So to access the 'Audio' directory:

const playTune = (key) => {
-    const audioSrc = `src/audio/${key}.wav`;
+    const audioSrc = `src/Audio/${key}.wav`;

Proof:

gh_pages_custom_virtual_keyboard.mp4

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Dev-Jago
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question
2 participants