From 677a98549f763468c1651168b9c423ec9d1ac7ff Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 18 Apr 2022 16:19:50 -0500 Subject: [PATCH] Updated url for examples. --- tutorials/MusicPlayer.html | 4 ++-- tutorials/MusicPlaylist.html | 4 ++-- tutorials/VisMusicPlayer.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tutorials/MusicPlayer.html b/tutorials/MusicPlayer.html index 708a703..65ddf1a 100644 --- a/tutorials/MusicPlayer.html +++ b/tutorials/MusicPlayer.html @@ -63,8 +63,8 @@ const ask = window.audioshowkit; const playlist = new ask.player.MusicPlaylist("Awesome Music"); - playlist.add("/assets/audio/moments.mp3", "Moments", "Lost Identities x Robbie Rosen"); - playlist.add("assets/audio/XXI.mp3", "XXI", "QR"); + playlist.add("./assets/audio/moments.mp3", "Moments", "Lost Identities x Robbie Rosen"); + playlist.add("./assets/audio/XXI.mp3", "XXI", "QR"); const player = new ask.player.MusicPlayer(playlist); const playElem = player.generatePlayElement(); diff --git a/tutorials/MusicPlaylist.html b/tutorials/MusicPlaylist.html index 705bd67..3afa416 100644 --- a/tutorials/MusicPlaylist.html +++ b/tutorials/MusicPlaylist.html @@ -65,8 +65,8 @@ const ask = window.audioshowkit; const playlist = new ask.player.MusicPlaylist("Awesome Music"); - playlist.add("/assets/audio/moments.mp3", "Moments", "Lost Identities x Robbie Rosen"); // It's that easy. - playlist.add("/assets/audio/XXI.mp3", "XXI", "QR"); // Let's add another one. + playlist.add("./assets/audio/moments.mp3", "Moments", "Lost Identities x Robbie Rosen"); // It's that easy. + playlist.add("./assets/audio/XXI.mp3", "XXI", "QR"); // Let's add another one. const pathetiqueMusic = new ask.player.Music("/assets/audio/pathetique.mp3", "Sonata No. 8", "Beethoven"); playlist.addExisting(pathetiqueMusic); diff --git a/tutorials/VisMusicPlayer.html b/tutorials/VisMusicPlayer.html index 50b1010..000029f 100644 --- a/tutorials/VisMusicPlayer.html +++ b/tutorials/VisMusicPlayer.html @@ -102,8 +102,8 @@ const ask = window.audioshowkit; const playlist = new ask.player.MusicPlaylist("Awesome Music"); - playlist.add("/assets/audio/XXI.mp3", "XXI", "QR"); - playlist.add("/assets/audio/moments.mp3", "Moments", "Lost Identities x Robbie Rosen"); + playlist.add("./assets/audio/XXI.mp3", "XXI", "QR"); + playlist.add("./assets/audio/moments.mp3", "Moments", "Lost Identities x Robbie Rosen"); const player = new ask.player.VisMusicPlayer(playlist); const playbackCtrlsElem = document.getElementById("playback-ctrls");