git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Tree: 3ac3f63409b2f6e177034de5ad8483d25749626a

Files: 3ac3f63409b2f6e177034de5ad8483d25749626a / playlist / index.js

410 bytesRaw
1const {pull, values, drain} = require('pull-stream')
2const css = require('sheetify')
3const h = require('hyperscript')
4
5css('tachyons')
6
7const tracks = values([
8 '2nd-to-last-Joy-for-Living-To-Glen.mp3'
9])
10
11pull(
12 tracks,
13 drain(function (track) {
14 document.body.appendChild(h('div.tc', [
15 h('audio', {controls: true}, [
16 h('source', {src: track, type: 'audio/mpeg'})
17 ])
18 ]))
19 })
20)
21
22

Built with git-ssb-web