wplayer

Check-in [1656c688b9]
Login

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

Overview
Comment:Hmm, simplify to try and make old FxOS happy
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: 1656c688b965e0ff5a801bcc4c802aa5d7a68b3a7a387bbdbf584ecc819a4946
User & Date: vandys 2020-05-18 02:45:51
Context
2020-05-18
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
2020-05-17
18:08
Scroll to top when no recorded path check-in: 8664b8534d 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
    playlist.pop()
    paintQueue();
}

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

    if (pcontents.files.length > 0) {
        var fidx;

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

	}
    }

}

// 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
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 = '';