@x12i/pocket-videos 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/app.js +3 -1
  2. package/package.json +1 -1
  3. package/sw.js +1 -1
package/app.js CHANGED
@@ -204,6 +204,8 @@ function setView(view, { push = true } = {}) {
204
204
  } else if (view === 'liked') {
205
205
  document.title = `Liked · ${state.app.name || 'Pocket Videos'}`;
206
206
  renderLiked();
207
+ } else if (view === 'player') {
208
+ renderPlayer();
207
209
  }
208
210
  if (push && was !== view && (view === 'player' || view === 'liked')) {
209
211
  navDepth += 1;
@@ -354,7 +356,7 @@ function renderLiked() {
354
356
  markButtons('tracks', trackMarkKey(playlist.id, track.src)));
355
357
  });
356
358
  $('#liked').replaceChildren(
357
- h('button', { class: 'back', type: 'button', onclick: backOne }, svg(PATH.back, 22), 'Home'),
359
+ h('button', { class: 'back', type: 'button', onclick: backHome }, svg(PATH.back, 22), 'Home'),
358
360
  h('h1', { text: 'Liked' }),
359
361
  h('p', { class: 'meta', text: items.length
360
362
  ? countLabel(items.length, termLower('track'), termLower('tracks'))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x12i/pocket-videos",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "description": "Pocket Videos: an installable web app that plays a playlist of audio and video, start to finish.",
package/sw.js CHANGED
@@ -5,7 +5,7 @@
5
5
  // - Media: served from the media cache when the playlist is saved there (with Range support,
6
6
  // which phones need for seeking in MP3 and MP4); otherwise streamed from the network.
7
7
 
8
- const VERSION = 'v2';
8
+ const VERSION = 'v3';
9
9
  const SHELL = `pv-shell-${VERSION}`;
10
10
  const DATA = 'pv-data';
11
11
  const COVERS = 'pv-covers';