Skip to content

Commit

Permalink
Add Vite configuration and React components
Browse files Browse the repository at this point in the history
  • Loading branch information
kingRayhan committed Dec 26, 2023
1 parent 20cfbd9 commit fbb4c12
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 11 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
4 changes: 1 addition & 3 deletions example-ts-react/src/App.tsx → example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ const App = () => {
];

const videoProps: VideoPlayerProps = {
theme: "city", // 'city', 'fantasy', 'forest', 'sea'
height: 720,
width: 1280,
theme: "forest", // 'city', 'fantasy', 'forest', 'sea'
autoPlay: false,
loop: false,
sources: videoSources,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphland/react-video-player",
"version": "0.1.9",
"version": "0.1.10",
"description": "A customizable React component serving as a wrapper for the popular Video.js library. This component provides a sleek and responsive video player with theme options.",
"main": "dist/index.js",
"scripts": {
Expand Down
14 changes: 7 additions & 7 deletions src/VideoPlayer.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* .gl-video-player__video {
.gl-video-player__wrapper {
position: relative;
padding-bottom: 56.25%;
overflow: hidden;
}

.gl-video-player__video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.gl-video-player__wrapper {
position: relative;
padding-bottom: 56.25%;
overflow: hidden;
} */

0 comments on commit fbb4c12

Please sign in to comment.