Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sureshpandiyan1/htmlvideoplayerjs
- Owner: sureshpandiyan1
- License: unlicense
- Created: 2023-08-19T14:26:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-22T10:48:38.000Z (over 1 year ago)
- Last Synced: 2024-12-20T13:04:15.900Z (17 days ago)
- Topics: es6, html, htmlvideo, js, module, mp4-video, react, video, videoplayer, youtube-player
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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