@glitchlab/react-video-player 1.0.0 → 1.0.2

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 (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -7,6 +7,8 @@ A lightweight, HLS-capable React video player with a polished overlay UI, device
7
7
  [![license: MIT](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE)
8
8
  [![types: TypeScript](https://img.shields.io/badge/types-TypeScript-blue.svg)](#typescript)
9
9
 
10
+ **Live demo →** <https://video-player-playgraound.vercel.app/> — drop in a video file or paste any URL (HLS `.m3u8` supported) to try the player end-to-end.
11
+
10
12
  ---
11
13
 
12
14
  ## Why this player
@@ -258,8 +260,8 @@ The component is SSR-safe. Server output renders the static frame; HLS attaches
258
260
  git clone https://github.com/im-fahad/react-video-player.git
259
261
  cd react-video-player
260
262
  pnpm install
261
- pnpm --filter @glitchlab/react-video-player test
262
- pnpm dev # opens the local React playground at http://localhost:5173
263
+ pnpm test
264
+ pnpm build
263
265
  ```
264
266
 
265
267
  Issues and PRs welcome at <https://github.com/im-fahad/react-video-player/issues>.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glitchlab/react-video-player",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "React video player with HLS support (hls.js), device-mode toggle, hover-to-play, and zero global CSS side-effects. Works with Next.js App Router and TypeScript.",
5
5
  "license": "MIT",
6
6
  "author": "im-fahad",
@@ -63,8 +63,7 @@
63
63
  },
64
64
  "repository": {
65
65
  "type": "git",
66
- "url": "git+https://github.com/im-fahad/react-video-player.git",
67
- "directory": "packages/react-video-player"
66
+ "url": "git+https://github.com/im-fahad/react-video-player.git"
68
67
  },
69
68
  "homepage": "https://github.com/im-fahad/react-video-player#readme",
70
69
  "bugs": {