cafe-video-player 3.0.17 → 3.0.19

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 CHANGED
@@ -170,16 +170,22 @@ export default function HomePage() {
170
170
 
171
171
  ⚠️ Disable React StrictMode, as it may cause duplicate executions of effects and unexpected behavior during development.
172
172
 
173
- For the modals to work correctly, you need to add the following tag to the end of the body tag in the \_document file.
173
+ For the modals to work correctly, you need to add the following tag to the end of the body tag.
174
174
 
175
175
  ```jsx
176
176
  <div id="dialog-react-root-videoPlayer" />
177
177
  ```
178
178
 
179
- To display the player styles correctly, you must import the videoPlayerStyles.css file from the node \_module folder inside the \_app file according to the example below.
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
- import "../node_modules/cafe-video-player/videoPlayerStyles.css";
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.