Skip to content

Commit e680216

Browse files
author
SeizeCTRL
authored
Update jack.js
added a playlist
1 parent df91ded commit e680216

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jack.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ import('https://dev.jspm.io/cash-dom').then(({ default: $ }) => $(function () {
1212

1313
const ripper = new Jack()
1414
ripper.scRIP([
15+
'https://soundcloud.com/leetcodes/sets/remixes-of-in-game-music',
1516
'https://soundcloud.com/groove-delight/groove-delight-dance-floor',
1617
'https://soundcloud.com/krash_music/groove-delight-krash-wonderwall'
1718
])
18-
.then(t=>t.forEach(mp3=>$(`<audio controls src="${mp3}"></audio>`).appendTo(document.body)))
19+
.then(t=>t.forEach(mp3=>$(`<audio preload="metadata" controls src="${mp3}"></audio>`).appendTo(document.body)))
1920
}))

0 commit comments

Comments
 (0)