Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sureshpandiyan1/htmlvideoplayerjs

just simple plugin for making your video have some controls
https://github.com/sureshpandiyan1/htmlvideoplayerjs

es6 html htmlvideo js module mp4-video react video videoplayer youtube-player

Last synced: 5 days ago
JSON representation

just simple plugin for making your video have some controls

Awesome Lists containing this project

README

        

# htmlvideoplayerjs

htmlvideoplayerjs is just simple plugin for making your video have some controls.

if you like it, give a star ★

## npm
https://www.npmjs.com/package/htmlvideoplayerjs

# first you should read this below

# PLEASE USE LATEST NPM PACKAGE

NOTE: it's supports only mp4, not other formats

htmlvideoplayerjs(folderpath,tid,width,height,videoid,url)

folderpath => htmlvideoplayer js need a icons, you can download from github repo [folder name: icons ] and copy and paste into your folder ('images') EXAMPLE : .//
you can name your folder whatever you want, but you must pass the full path where icons located on your project'

tid => target id ('thevideo')
width => video width ('400')
height => video height ('auto')
videoid => should be unique id ('video')
url => video source file path ('beautifulcity.mp4')

# how to use it

// first you need to download icons from github repo - [foldername: icons]
// second, you should to download stylesheet for htmlvideoplayerjs from github repo - [foldername: playerstyles]

// we want to make sure all things loaded properly for htmlvideoplayerjs

import htmlvideoplayer from 'htmlvideoplayerjs'

const myvideo = htmlvideoplayer
myvideo('images', 'thevideo', '400','auto', 'video', 'beautifulcity.mp4')

# license
Unlicense

# copyright
copyright @ htmlvideoplayerjs