File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,8 +132,8 @@ <h3 class="text-xl font-semibold mb-4 flex items-center">
132132 </ div >
133133 </ div >
134134
135- < script type ="text/javascript " src =" ./dist/cjs/index.cjs " > </ script >
136- < script type =" text/javascript " >
135+ < script type ="module " >
136+ import Gapless from './dist/index.mjs' ;
137137 // Track metadata
138138 const trackMetadata = [
139139 { title : "Electric Dreams" , artist : "JRAD" , album : "Live 2017-03-17" } ,
@@ -143,7 +143,7 @@ <h3 class="text-xl font-semibold mb-4 flex items-center">
143143 ] ;
144144
145145 // Initialize player
146- window . player = new Gapless . Queue ( {
146+ window . player = new Gapless ( {
147147 tracks : [
148148 "https://archive.org/download/jrad2017-03-17.cmc621.cmc64.sbd.matrix.flac16/jrad2017-03-17.cmc621.cmc64.sbd.matrix-s2t03.mp3" ,
149149 "https://archive.org/download/jrad2017-03-17.cmc621.cmc64.sbd.matrix.flac16/jrad2017-03-17.cmc621.cmc64.sbd.matrix-s2t04.mp3" ,
You can’t perform that action at this time.
0 commit comments