0.1.21 • Published 9 months ago
planetsport-nextjs-videoplayer v0.1.21
planetsport-nextjs-videoplayer
This web video player is a custom-built solution utilizing video.js, enhanced with additional functionality for logging video events to the API.
Install
planetsport-nextjs-videoplayer is available on npm. It can be installed with the following command:
npm install planetsport-nextjs-videoplayer
or
yarn add planetsport-nextjs-videoplayer
Import styling
import '../../planetsport-nextjs-videoplayer/styles/main.scss';
Example Componet
import { VideoPlayer } from 'planetsport-nextjs-videoplayer';
function MyComponent({video, api_url, gcp_base_url, token}) {
return (
<div>
<h1>My Component</h1>
<VideoPlayer
video={video}
api_url={api_url}
gcp_base_url={gcp_base_url}
token={token}
/>
</div>
);
}
0.1.20
9 months ago
0.1.21
9 months ago
0.1.18
10 months ago
0.1.19
9 months ago
0.1.17
1 year ago
0.1.15
1 year ago
0.1.14
1 year ago
0.1.10
1 year ago
0.1.11
1 year ago
0.1.12
1 year ago
0.1.13
1 year ago
0.1.9
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.6
1 year ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.0
2 years ago