0.1.15 • Published 21 days ago

planetsport-nextjs-videoplayer v0.1.15

Weekly downloads
-
License
-
Repository
-
Last release
21 days ago

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.15

21 days ago

0.1.14

3 months ago

0.1.10

3 months ago

0.1.11

3 months ago

0.1.12

3 months ago

0.1.13

3 months ago

0.1.9

3 months ago

0.1.8

3 months ago

0.1.7

3 months ago

0.1.6

3 months ago

0.1.5

6 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.0

7 months ago