wplayer

Check-in [d1152e2e8a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Oops, old debug
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: d1152e2e8a1032b75fc97d641933773308fa4d5e1a90d2dd8209071c1318ca9a
User & Date: vandys 2020-05-18 02:46:44
Context
2020-05-18
02:47
Stretch out <audio>, mostly to get better granularity on the volume control. check-in: be5f2e96dd user: vandys tags: master, trunk
02:46
Oops, old debug check-in: d1152e2e8a user: vandys tags: master, trunk
02:45
Hmm, simplify to try and make old FxOS happy check-in: 1656c688b9 user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to js/player.js.

439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
    playlist.pop()
    paintQueue();
}

// Add all files in current folder to playlist
// (i.e., "play album")
function addAll() {
    console.log("addAll");
    if (pcontents.files.length > 0) {
	console.log(" addAll contents");
	for (let fidx = 0; fidx < pcontents.files.length; ) {
	    go_file(fidx);
	    fidx += 1;
	}
    }
    console.log("addAll done");
}

// Clear the decks!
function dropAll() {
    if (playlist.length > 0) {
	playlist.length = 0;
	pqueue.textContent = '';







<

<





<







439
440
441
442
443
444
445

446

447
448
449
450
451

452
453
454
455
456
457
458
    playlist.pop()
    paintQueue();
}

// Add all files in current folder to playlist
// (i.e., "play album")
function addAll() {

    if (pcontents.files.length > 0) {

	for (let fidx = 0; fidx < pcontents.files.length; ) {
	    go_file(fidx);
	    fidx += 1;
	}
    }

}

// Clear the decks!
function dropAll() {
    if (playlist.length > 0) {
	playlist.length = 0;
	pqueue.textContent = '';