Updated url for examples.
This commit is contained in:
parent
4501a9b222
commit
677a98549f
@ -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();
|
||||
|
@ -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);
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user