Skip to content

Latest commit

 

History

History
342 lines (211 loc) · 10 KB

CHANGELOG.md

File metadata and controls

342 lines (211 loc) · 10 KB

CHANGELOG

6.0.5

Fixes

  • Fix poster display after the first playback, isPaused is reset on media end (#144)

6.0.4

Fixes

  • Fix duration when preload is disabled (#136)

6.0.3

Fixes

  • Fix Firefox progress bar height (#129)
  • Add Youtube origin parameter (#130)

6.0.2

Fixes

  • Increase progress bar height (#119)
  • Fix preload on html5 provider (#118)

6.0.1

Fixes

  • Added initial aria-label for bigPlay component (#115)

6.0.0

⚠️ Breaking changes

This package is now pure ESM. Please read Sindre Sorhus ESM note for more information

  • Migrate to ESM with package exports and rollup (#100)

5.0.2

Updates

  • Add funding key in package.json (31313e2)

5.0.1

Fixes

Updates

  • Update sticky plugin providers (f142964)

5.0.0

⚠️ Breaking changes

  • Minimum supported Node.js version is 16.20.0 (#97)
  • Update HTML (#99)
    • Remove vlite-js CSS classe
    • Remove v-controlButton on v-bigPlay
    • Add nested container v-container for sticky compatibility
  • Add css file for PIP plugin (#90)

New features

  • Add the volume bar plugin (#90)
  • Add the sticky plugin (#99)

Updates

  • Increase or decrease the volume by 0.1 and fix the round
  • Update README.md (#95, #96)
  • New directory structure (#98)

Removes

  • Remove animation on volume button (#90)

Fixes

  • Fix Dailymotion volume (#90)

4.2.0

New features

  • Add the Google IMA SDK plugin (#77)
  • Add the AirPlay plugin (#82)

Updates

  • Enable playsinline by default (f142964)
  • Call Vlitejs onReady function before the plugins onReady functions (7620e16)
  • Use native aspect-ratio for player responsive (b9816bc)
  • Disable fullscreen on iPhone (not supported yet) (49c9567)

4.1.2

Fixes

  • Fix multiple cast instance (#76)

4.1.1

Fixes

  • Fix default values for Cast plugin options (e0e492e)

4.1.0

New features

  • Add the Dailymotion provider (#73)
  • Add the Cast plugin (#72)

Fixes

  • Fix Youtube seekTo method conflicting with unstarted and unmuted video (#75)

4.0.7

Fixes

  • Fix progress bar height (#71)

4.0.6

Updates

  • Update environment (#67)

4.0.5

Fixes

  • Fix HTML5 event ready when the video is already loaded (#62)

New features

  • Add the autoHideDelay option (#63)

4.0.4

Optimize accessibility (#58)

Updates

  • 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 onKeyDown function by categories
  • Replace querySelector by cached elements
  • Refacto subtitle click event and use validateTarget for event delegation

Fixes

  • Fix auto hide broken with isPaused
  • Prevent focus to be captured by the iframe
  • Fix Youtube progress bar updates on tabulation navigation

4.0.3

Fixes

  • Fix provider queue by (#52)
  • Add new issue templates (#56)
  • Fix conflicts between native keyboard shortcuts and HTML form elements (#57 by @bfiessinger)

4.0.2

Fixes

  • Fix README issues (#43)
  • Fix mute option not transferred to the player (#48)
  • Fix play not triggered without the poster (#49)

4.0.1

Fixes

  • Fixed the default parameters and fix the selector HTMLDivElement (#43, #47)

4.0.0

⚠ Breaking changes

  • Rename window.vlitejs to window.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 and sample-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 and docs directory, all docs are available in README files in the repository

Fixes

  • Fix the loop and muted attributes

3.0.4

Updates

  • Update dependencies

3.0.3

Fixes

  • Fixed strict node engine version break with different node version (#7)

3.0.2

Updates

  • Update docs and add .eslintignore

3.0.1

Updates

  • Update engines in package.json (node and npm)

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 with Standard 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 and mkdocs 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 with ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE
  • Add ./dist folder with vLitejs assets
  • Add CHANGELOG file
  • Add .editorconfig file

Removed

  • Remove specific build file for html5 player only or youtube player only. We keep only one bundle compatible with html5 and youtube

Updates

  • Rename the export of the vLite constructor tovlitejs
  • Rename timeline option to progressBar
  • Rename callback option to onReady
  • 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.

2.0.1

New features

  • Add playsinline support
  • Add fast-forward on the video (+ or - 10s) only on no touch devices

Updates

  • Optimize unBindEvents function

Fixes

  • Fix bug with native control for touch devices

2.0.0

New features

  • Add prefix .vl- before all CSS classes use by vlitejs to prevent conflicts
  • Add keyboard shortcut (spacebar) to control the video
  • Add option autoHide to hide the control bar if the user is inactive
  • Add loader linked to seeking and seeked events

1.1.2

New features

  • Add progress bar hover and transition

Fixes

  • Prevent click catch by Youtube iframe which block player click

1.1.1

New features

  • Add UMD compatibility
  • Add package on npm

1.1.0

New features

  • First release of vLitejs
  • Update README