🦋 vLitejs is a fast and lightweight Javascript library for customizing video and audio player in Javascript with a minimalist theme (HTML5, Youtube, Vimeo, Dailymotion)
MIT License
Published by yoriiis over 3 years ago
window.vlitejs
to window.Vlitejs
to make sure the constructor name starts with a capitalnativeControlsForTouch
optiondata-options
HTML attributes in favor of options from the JS constructor.browserslistrc
dist
directory from GitHub, only available for NPM and CDNsample-provider.js
and sample-plugin.js
for guidelinesEvent
fired on media actions (play
, pause
, etc.)<button>
, <input type="range">
, aria-*
, :focus-visible
)autoplay
, playsinline
, muted
, loop
).browserslistrc
formatVideoTime
, checkSupportFullScreen
, isTouch
to utilsloader
, overlay
, big-play
, poster
, control-bar
)MkDocs
and docs
directory, all docs are available in README files in the repositoryloop
and muted
attributesPublished by yoriiis almost 5 years ago
.eslintignore
Published by yoriiis almost 5 years ago
engines
in package.json
(node and npm)Published by yoriiis almost 5 years ago
ESLint
with Standard JS
on the project with associated npm scriptsStyleLint
configuration on the project with associated npm scriptsBabel
configuration on the projectpostCSS
configuration on the projectbrowserslistrc
files for browsers supportstylelint
, eslint
and mkdocs build
JSDoc
configuration file and all code commentsMaterial for MkDocs
to build the documentation websiteWebpack
configuration./examples
folder with vLitejs examples.github
folder with ISSUE_TEMPLATE
and PULL_REQUEST_TEMPLATE
./dist
folder with vLitejs assetsCHANGELOG
file.editorconfig
filehtml5
player only or youtube
player only. We keep only one bundle compatible with html5
and youtube
vLite
constructor to vlitejs
timeline
option to progressBar
callback
option to onReady
.vl-
to .v-
Published by yoriiis almost 5 years ago
playsinline
supportunBindEvents
functionPublished by yoriiis almost 5 years ago
.vl-
before all CSS classes use by vLite to prevent conflictsautoHide
to hide the control bar if the user is inactiveseeking
and seeked
eventsPublished by yoriiis almost 5 years ago
Published by yoriiis almost 5 years ago
vLitejs