Skip to content

leafstudiosDot/hodotsVideoPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This library was bootstrapped with Create React App and for React.js developers only.

Notice to downloaders here!

Do not install this package in your React project yet, This package development is paused and we are deeply sorry if you have experienced bugs at this package. We aren't sure when to resume it's development for the video player.

Sorry for the inconvinience

hodots. Video Player

hodots.

hodots. Video Player is open source video player by [TuxPenguin09](https://github.com/TuxPenguin09) for his made from scratch video player.

Install

npm i @leafstudiosteam/hodotsvideoplayer --save

React.js Import

import { VideoPlayer } from '@leafstudiosteam/hodotsvideoplayer';
import '@leafstudiosteam/hodotsvideoplayer/dist/index.cjs.css';

Usage

//Import Libraries
import { VideoPlayer } from '@leafstudiosteam/hodotsvideoplayer';
import '@leafstudiosteam/hodotsvideoplayer/dist/index.cjs.css';

<VideoPlayer 
src={/* Source of the video */}
placeholder={/* Thumbnail */}
/>

Parameters

src (string)

A source of the video, or a link that returns a video/*.

placeholder (string)

A source of an image, or a link that returns a image/*.

keysDisabled (boolean)

Whether some keys assigned will never respond if the boolean is true.

Key Bindings

  • <- -5 seconds
  • -> +5 seconds
  • Space Pause/Play

About

A video player for hodots.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages