wplayer

Check-in [c3a1651815]
Login

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

Overview
Comment:Side-by-side sucked on mobile. Try picture below queue, and click to make it go away.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:c3a16518157fd07352a756c9045ad478dd3065124c495a9a79f40ae51490411c
User & Date: vandyswa@gmail.com 2018-04-28 00:37:54
Context
2018-06-12
22:51
Switch to Fossil. Add tinytag; update window title with artist/track. check-in: c475684d4b user: vandys tags: master, trunk
2018-04-28
00:37
Side-by-side sucked on mobile. Try picture below queue, and click to make it go away. check-in: c3a1651815 user: vandyswa@gmail.com tags: master, trunk
2018-04-27
03:50
Add back a style sheet. Add some actual handling for album art which shows up in the media directories. check-in: e09cccc9df user: vandyswa@gmail.com tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to html/top.html.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<link rel="stylesheet" type="text/css" href="/css/player.css" />
<head>
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>Web Player</title>
</head>
<body>
 <textarea rows="8" cols="80" readonly id="pqueue"></textarea>
 <img style="display: none;" id="playart">
 <hr>
 <span id="nowplaying"></span><br>
 <table>
  <tr>
   <td>
    <audio controls autoplay id="player" style="text-align: center;"></audio>
   </td>







|
|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<link rel="stylesheet" type="text/css" href="/css/player.css" />
<head>
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>Web Player</title>
</head>
<body>
 <textarea rows="8" cols="80" readonly id="pqueue"></textarea><br>
 <img onclick="unplayart();" style="display: none;" id="playart">
 <hr>
 <span id="nowplaying"></span><br>
 <table>
  <tr>
   <td>
    <audio controls autoplay id="player" style="text-align: center;"></audio>
   </td>

Changes to js/player.js.

454
455
456
457
458
459
460





461
462
463
	var d = document.scrollingElement;
	d.scrollTop = 0;

    } else {
	console.log("Unknown keystroke: " + kc.toString());
    }
}






// Initial browser window update
curdir();







>
>
>
>
>



454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
	var d = document.scrollingElement;
	d.scrollTop = 0;

    } else {
	console.log("Unknown keystroke: " + kc.toString());
    }
}

// Let them tap the art to make it go away
function unplayart() {
    playart.style.display = "none";
}

// Initial browser window update
curdir();