- Add style to CSS exports by @rtritto in (#201)
- Fix control bar not display on first tap without mobile plugin (#204)
- Add
mobileplugin (#194)
- Updates Node.js (897ee9d)
- Minimum supported
Node.jsversion is22 - Updates other packages
- Minimum supported
- Add set source by @rtritto and @yoriiis (#186)
- Playwright setup (#173)
- Fix types and use package inside demo (#189)
- Reset the play button and subtitles at the end of the media. Update the z-index so that the big play and poster are above the captions (#183)
- Correction of the destroy method on plugins (#182)
- Disable toggle playback on mobile overlay click (#178)
- Limit focus changes on control bar internal components by @leonvogt (#176)
- Remove subtitle focus on first item (2836a19)
- Improve plugin options by @rtritto (#167)
- Move keyboard shortcuts in a new plugin
hotkeysby @rtritto (#165)
- Remove useless
v-fullscreenButtonDisplayclass and addv-fullscreenas a state class by @rtritto (#156) - Use abstract annotation in
Player.tsby @rtritto (#157)
- Updates Node.js (#146)
- Minimum supported
Node.jsversion is20.18.0 - Updates other packages
- Migrate ESLint/Prettier to Biome
- Minimum supported
- Fix poster display after the first playback,
isPausedis reset on media end (#144)
- Fix duration when preload is disabled (#136)
- Added initial
aria-labelforbigPlaycomponent (#115)
This package is now pure ESM. Please read Sindre Sorhus ESM note for more information
- Migrate to ESM with package
exportsandrollup(#100)
- Add funding key in
package.json(31313e2)
- Fix Vimeo iframe size (f142964)
- Update sticky plugin providers (f142964)
- Minimum supported
Node.jsversion is16.20.0(#97) - Update HTML (#99)
- Remove
vlite-jsCSS classe - Remove
v-controlButtononv-bigPlay - Add nested container
v-containerfor sticky compatibility
- Remove
- Add css file for PIP plugin (#90)
- Increase or decrease the volume by 0.1 and fix the round
- Update README.md (#95, #96)
- New directory structure (#98)
- Remove animation on volume button (#90)
- Fix Dailymotion volume (#90)
- Enable
playsinlineby default (f142964) - Call Vlitejs
onReadyfunction before the pluginsonReadyfunctions (7620e16) - Use native
aspect-ratiofor player responsive (b9816bc) - Disable fullscreen on iPhone (not supported yet) (49c9567)
- Fix multiple cast instance (#76)
- Fix default values for Cast plugin options (e0e492e)
- Fix Youtube seekTo method conflicting with unstarted and unmuted video (#75)
- Fix progress bar height (#71)
- Update environment (#67)
- Fix HTML5 event ready when the video is already loaded (#62)
- Add the
autoHideDelayoption (#63)
Optimize accessibility (#58)
- Move keydown event to the player element instead of document
- Player has the focus after the big play button click and after the subtitle button (inside the list) click
- Add focus on first subtitle button when the subtitle menu is opened
- Remove keydown restriction on specific tags (#57)
- Limit keydown actions when the player or children's player has the focus
- Refacto
onKeyDownfunction by categories - Replace
querySelectorby cached elements - Refacto subtitle click event and use
validateTargetfor event delegation
- Fix auto hide broken with
isPaused - Prevent focus to be captured by the iframe
- Fix Youtube progress bar updates on tabulation navigation
- Fix provider queue by (#52)
- Add new issue templates (#56)
- Fix conflicts between native keyboard shortcuts and HTML form elements (#57 by @bfiessinger)
- Fix README issues (#43)
- Fix mute option not transferred to the player (#48)
- Fix play not triggered without the poster (#49)
- Rename
window.vlitejstowindow.Vlitejsto make sure the constructor name starts with a capital - Remove
nativeControlsForTouchoption - Remove
data-optionsHTML attributes in favor of options from the JS constructor - Supports the latest 2 browsers versions with
.browserslistrc - Remove the
distdirectory from GitHub, only available for NPM and CDN
- 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.jsandsample-plugin.jsfor guidelines - Add multiple native
Eventfired 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)
- Convert to Typescript
- Replace Travis by GitHub Action
- Update to webpack v5
- Update Babel config and
.browserslistrc - Move
formatVideoTime,checkSupportFullScreen,isTouchto utils - Split code into components (
loader,overlay,big-play,poster,control-bar) - Remove
MkDocsanddocsdirectory, all docs are available in README files in the repository
- Fix the
loopandmutedattributes
- Update dependencies
- Fixed strict node engine version break with different node version (#7)
- Update docs and add
.eslintignore
- Update
enginesinpackage.json(node and npm)
- Add all sources of the vLitejs project, including:
- CSS
- JS
- Documentation with MkDocs build
- Webpack configuration
- Examples
- New folder structure
- Add
ESLintwithStandard JSon the project with associated npm scripts - Add
StyleLintconfiguration on the project with associated npm scripts - Add
Babelconfiguration on the project - Add
postCSSconfiguration on the project - Add
browserslistrcfiles for browsers support - Add Travis builds:
stylelint,eslintandmkdocs build - Add
JSDocconfiguration file and all code comments - Add
Material for MkDocsto build the documentation website - Add
Webpackconfiguration - Add
./examplesfolder with vLitejs examples - Add
.githubfolder withISSUE_TEMPLATEandPULL_REQUEST_TEMPLATE - Add
./distfolder with vLitejs assets - Add
CHANGELOGfile - Add
.editorconfigfile
- Remove specific build file for
html5player only oryoutubeplayer only. We keep only one bundle compatible withhtml5andyoutube
- Rename the export of the
vLiteconstructor tovlitejs - Rename
timelineoption toprogressBar - Rename
callbackoption toonReady - Rename CSS class prefixes from
.vl-to.v- - Rename all CSS class with FUN methodology
- Fix autoplay option that does not work with browser policy without user gesture. Muted option is forced to solved the problem.
- Add
playsinlinesupport - Add fast-forward on the video (+ or - 10s) only on no touch devices
- Optimize
unBindEventsfunction
- Fix bug with native control for touch devices
- Add prefix
.vl-before all CSS classes use by vlitejs to prevent conflicts - Add keyboard shortcut (spacebar) to control the video
- Add option
autoHideto hide the control bar if the user is inactive - Add loader linked to
seekingandseekedevents
- Add progress bar hover and transition
- Prevent click catch by Youtube iframe which block player click
- Add
UMDcompatibility - Add package on npm
- First release of vLitejs
- Update README