react-covideo-embed 0.1.4 → 0.1.6
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.
- package/README.md +1 -6
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/react-covideo-embed-0.1.0.tgz +0 -0
package/README.md
CHANGED
|
@@ -5,9 +5,7 @@ Covideo platform as an embeddable React component.
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
|
|
9
8
|
npm install react-covideo-embed
|
|
10
|
-
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
## PeerDependencies
|
|
@@ -50,10 +48,9 @@ Explore the capabilities of react-covideo-embed through our [Demo Project](https
|
|
|
50
48
|
|
|
51
49
|
### `onVideoInsert` (optional)
|
|
52
50
|
|
|
53
|
-
- **Type**:
|
|
51
|
+
- **Type**: function
|
|
54
52
|
- **Description**: Callback triggered when a video is inserted.
|
|
55
53
|
- **Parameters**:
|
|
56
|
-
|
|
57
54
|
- `shareData`: Object containing the URL and HTML of the inserted video.
|
|
58
55
|
- `url`: `string` - The URL of the inserted video.
|
|
59
56
|
- `html`: `string` - The HTML representation of the inserted video.
|
|
@@ -63,14 +60,12 @@ Explore the capabilities of react-covideo-embed through our [Demo Project](https
|
|
|
63
60
|
- **Type**: `function`
|
|
64
61
|
- **Description**: Callback triggered when there is an error inserting a video.
|
|
65
62
|
- **Parameters**:
|
|
66
|
-
|
|
67
63
|
- `error`: `unknown` - The error occurred during video insert.
|
|
68
64
|
|
|
69
65
|
### `hideFeatures` (optional)
|
|
70
66
|
|
|
71
67
|
- **Type**: `Array<Feature>`
|
|
72
68
|
- **Description**: Determines which Covideo features to hide. Acceptable values are as follows:
|
|
73
|
-
|
|
74
69
|
- `insert`
|
|
75
70
|
- `recordScreen`
|
|
76
71
|
- `recordBoth`
|