Releases: vlitejs/vlite
Releases · vlitejs/vlite
4.0.0
⚠ Breaking changes
- Rename
window.vlitejs
towindow.Vlitejs
to make sure the constructor name starts with a capital - Remove
nativeControlsForTouch
option - Remove
data-options
HTML attributes in favor of options from the JS constructor - Supports the latest 2 browsers versions with
.browserslistrc
- Remove the
dist
directory from GitHub, only available for NPM and CDN
New features
- New design and new icons
- Add Vimeo provider
- Add Audio HTML5 provider
- Add subtitle plugin
- Add Picture-in-Picture plugin
- Add a provider API to allow extension of current providers
- Add a plugin API to allow extension of current plugins
- Add
sample-provider.js
andsample-plugin.js
for guidelines - Add multiple native
Event
fired on media actions (play
,pause
, etc.) - Add A11Y compatibility (
<button>
,<input type="range">
,aria-*
,:focus-visible
) - Add the volume up/down shortcuts
- Update HTML attributes from options and vice versa (
autoplay
,playsinline
,muted
,loop
)
Updates
- Convert to Typescript
- Replace Travis by GitHub Action
- Update to webpack v5
- Update Babel config and
.browserslistrc
- Move
formatVideoTime
,checkSupportFullScreen
,isTouch
to utils - Split code into components (
loader
,overlay
,big-play
,poster
,control-bar
) - Remove
MkDocs
anddocs
directory, all docs are available in README files in the repository
Fixes
- Fix the
loop
andmuted
attributes
3.0.3
3.0.2
3.0.1
3.0.0
New features
- Add all sources of the vLitejs project, including:
- CSS
- JS
- Documentation with MkDocs build
- Webpack configuration
- Examples
- New folder structure
- Add
ESLint
withStandard JS
on the project with associated npm scripts - Add
StyleLint
configuration on the project with associated npm scripts - Add
Babel
configuration on the project - Add
postCSS
configuration on the project - Add
browserslistrc
files for browsers support - Add Travis builds:
stylelint
,eslint
andmkdocs build
- Add
JSDoc
configuration file and all code comments - Add
Material for MkDocs
to build the documentation website - Add
Webpack
configuration - Add
./examples
folder with vLitejs examples - Add
.github
folder withISSUE_TEMPLATE
andPULL_REQUEST_TEMPLATE
- Add
./dist
folder with vLitejs assets - Add
CHANGELOG
file - Add
.editorconfig
file
Removed
- Remove specific build file for
html5
player only oryoutube
player only. We keep only one bundle compatible withhtml5
andyoutube
Updates
- Rename the export of the
vLite
constructor tovlitejs
- Rename
timeline
option toprogressBar
- Rename
callback
option toonReady
- Rename CSS class prefixes from
.vl-
to.v-
- Rename all CSS class with FUN methodology
Fixes
- Fix autoplay option that does not work with browser policy without user gesture. Muted option is forced to solved the problem.