cafe-video-player 3.0.17 → 3.0.18
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 +8 -2
- package/index.cjs +4 -4
- package/index.cjs.map +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/package.json +4 -3
- package/videoPlayerStyles.css +2 -5085
package/README.md
CHANGED
|
@@ -176,10 +176,16 @@ For the modals to work correctly, you need to add the following tag to the end o
|
|
|
176
176
|
<div id="dialog-react-root-videoPlayer" />
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
To display the player styles correctly, you
|
|
179
|
+
To display the player styles correctly, you need to import the `videoPlayerStyles.css` file, as shown in the example below.
|
|
180
180
|
|
|
181
181
|
```jsx
|
|
182
|
-
|
|
182
|
+
|
|
183
|
+
@import "tailwindcss";
|
|
184
|
+
|
|
185
|
+
@layer base {
|
|
186
|
+
@import "cafe-video-player/videoPlayerStyles.css";
|
|
187
|
+
}
|
|
188
|
+
|
|
183
189
|
```
|
|
184
190
|
|
|
185
191
|
To display the images correctly, you must put the following configuration in the next.config.ts file.
|