@nikelroot/video-player 0.1.2 → 0.1.3

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/dist/index.cjs CHANGED
@@ -1400,6 +1400,7 @@ var VideoPlayerBase = (props, ref) => {
1400
1400
  "video",
1401
1401
  {
1402
1402
  ...videoProps,
1403
+ controls: false,
1403
1404
  ref: setVideoEl,
1404
1405
  crossOrigin,
1405
1406
  playsInline: true,
package/dist/index.d.cts CHANGED
@@ -36,7 +36,7 @@ interface VideoPlayerProps extends Omit<React.VideoHTMLAttributes<HTMLVideoEleme
36
36
  videoSrc: string;
37
37
  sourceType?: 'auto' | 'hls' | 'native';
38
38
  type?: string;
39
- controlsVariant?: ControlsVariant;
39
+ controlsVariant: ControlsVariant;
40
40
  autoPlay?: boolean;
41
41
  preload?: '' | 'none' | 'auto' | 'metadata';
42
42
  loop?: boolean;
package/dist/index.d.ts CHANGED
@@ -36,7 +36,7 @@ interface VideoPlayerProps extends Omit<React.VideoHTMLAttributes<HTMLVideoEleme
36
36
  videoSrc: string;
37
37
  sourceType?: 'auto' | 'hls' | 'native';
38
38
  type?: string;
39
- controlsVariant?: ControlsVariant;
39
+ controlsVariant: ControlsVariant;
40
40
  autoPlay?: boolean;
41
41
  preload?: '' | 'none' | 'auto' | 'metadata';
42
42
  loop?: boolean;
package/dist/index.js CHANGED
@@ -1371,6 +1371,7 @@ var VideoPlayerBase = (props, ref) => {
1371
1371
  "video",
1372
1372
  {
1373
1373
  ...videoProps,
1374
+ controls: false,
1374
1375
  ref: setVideoEl,
1375
1376
  crossOrigin,
1376
1377
  playsInline: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nikelroot/video-player",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Standalone React video player with HLS support.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",