File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @graphland/react-video-player" ,
3- "author" : " KingRayhan" ,
4- "version" : " 0.1.0" ,
3+ "author" : {
4+ 5+ "name" : " kingrayhan" ,
6+ "url" : " https://rayhan.dev"
7+ },
8+ "version" : " 0.1.1" ,
59 "license" : " MIT" ,
610 "main" : " dist/index.js" ,
711 "typings" : " dist/index.d.ts" ,
7781 },
7882 "dependencies" : {
7983 "@videojs/themes" : " ^1.0.1" ,
80- "clsx" : " ^2.0.0" ,
8184 "video.js" : " ^8.6.1"
8285 }
8386}
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import '@videojs/themes/dist/forest/index.css';
1414import '@videojs/themes/dist/sea/index.css' ;
1515import videojs , { ReadyCallback } from 'video.js' ;
1616import './VideoPlayer.css' ;
17- import clsx from 'clsx' ;
1817
1918export interface VideoPlayerProps {
2019 theme ?: 'city' | 'fantasy' | 'forest' | 'sea' ;
@@ -84,7 +83,7 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({
8483 < div className = "gl-video-player__wrapper" >
8584 < video
8685 ref = { videoRef }
87- className = { clsx ( `video-js gl-video-player__video vjs-theme-${ theme } ` ) }
86+ className = { `video-js gl-video-player__video vjs-theme-${ theme } ` }
8887 controls
8988 autoPlay = { autoPlay }
9089 preload = "auto"
You can’t perform that action at this time.
0 commit comments