diff --git a/v1-com-officielle/public/DATA/Son/1.mp3 b/v1-com-officielle/public/DATA/Son/1.mp3 new file mode 100644 index 0000000..99970b0 Binary files /dev/null and b/v1-com-officielle/public/DATA/Son/1.mp3 differ diff --git a/v1-com-officielle/public/DATA/Son/2.mp3 b/v1-com-officielle/public/DATA/Son/2.mp3 new file mode 100644 index 0000000..4036876 Binary files /dev/null and b/v1-com-officielle/public/DATA/Son/2.mp3 differ diff --git a/v1-com-officielle/public/DATA/Son/3.mp3 b/v1-com-officielle/public/DATA/Son/3.mp3 new file mode 100644 index 0000000..e6981ba Binary files /dev/null and b/v1-com-officielle/public/DATA/Son/3.mp3 differ diff --git a/v1-com-officielle/public/DATA/Son/4.mp3 b/v1-com-officielle/public/DATA/Son/4.mp3 new file mode 100644 index 0000000..c1fe2a8 Binary files /dev/null and b/v1-com-officielle/public/DATA/Son/4.mp3 differ diff --git a/v1-com-officielle/public/DATA/Son/5.mp3 b/v1-com-officielle/public/DATA/Son/5.mp3 new file mode 100644 index 0000000..55b2c79 Binary files /dev/null and b/v1-com-officielle/public/DATA/Son/5.mp3 differ diff --git a/v1-com-officielle/public/DATA/Son/6.mp3 b/v1-com-officielle/public/DATA/Son/6.mp3 new file mode 100644 index 0000000..709172f Binary files /dev/null and b/v1-com-officielle/public/DATA/Son/6.mp3 differ diff --git a/v1-com-officielle/public/DATA/Son/7.mp3 b/v1-com-officielle/public/DATA/Son/7.mp3 new file mode 100644 index 0000000..1db2947 Binary files /dev/null and b/v1-com-officielle/public/DATA/Son/7.mp3 differ diff --git a/v1-com-officielle/public/DATA/audioData.json b/v1-com-officielle/public/DATA/audioData.json new file mode 100644 index 0000000..7be9593 --- /dev/null +++ b/v1-com-officielle/public/DATA/audioData.json @@ -0,0 +1,17 @@ +[ + { + "track":"L'Inverse", + "artist":"Surprise", + "src":"./DATA/Son/1.mp3" + }, + { + "track":"Yummy", + "artist":"Ayesha Erotica", + "src":"./DATA/Son/2.mp3" + }, + { + "track":"M le Maudit", + "artist":"Mauvais Exemple", + "src":"./DATA/Son/3.mp3" + } +] diff --git a/v1-com-officielle/src/data/audioData.js b/v1-com-officielle/src/data/audioData.js new file mode 100644 index 0000000..01c2921 --- /dev/null +++ b/v1-com-officielle/src/data/audioData.js @@ -0,0 +1,4 @@ +export async function loadAudioData() { + const aData = await fetch('/DATA/audioData.json'); + return await aData.json(); +} diff --git a/v1-com-officielle/src/titleComponents/MusicPlayer.vue b/v1-com-officielle/src/titleComponents/MusicPlayer.vue index e0f48cd..2006775 100644 --- a/v1-com-officielle/src/titleComponents/MusicPlayer.vue +++ b/v1-com-officielle/src/titleComponents/MusicPlayer.vue @@ -1,22 +1,26 @@