@chunkify/player-react 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 +32 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @chunkify/player-react
2
+
3
+ The typed React wrapper for Chunkify Player, with HLS and ordinary video
4
+ support.
5
+
6
+ ## Installation
7
+
8
+ ```sh
9
+ npm install @chunkify/player-react
10
+ ```
11
+
12
+ ## Usage
13
+
14
+ ```tsx
15
+ import { ChunkifyPlayer } from "@chunkify/player-react";
16
+
17
+ export function VideoPlayer() {
18
+ return (
19
+ <ChunkifyPlayer
20
+ src="https://media.example.com/master.m3u8"
21
+ poster="https://media.example.com/poster.jpg"
22
+ thumbnails="https://media.example.com/thumbnails/images.vtt"
23
+ controls
24
+ playsInline
25
+ />
26
+ );
27
+ }
28
+ ```
29
+
30
+ Customization, private playback, refs, events, themes, and the complete API are
31
+ documented in the
32
+ [Chunkify Player repository](https://github.com/chunkifydev/chunkify-player#readme).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chunkify/player-react",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Typed React wrapper for the Chunkify player Web Component",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "prepack": "npm run build"
35
35
  },
36
36
  "dependencies": {
37
- "@chunkify/player": "1.0.0"
37
+ "@chunkify/player": "1.1.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": "^19.0.0"