npm video.js 6.0.0

latest releases: 8.12.0, 8.11.8, 8.11.7...
7 years ago

6.0.0 (2017-04-03)

Features

Bug Fixes

  • accessibility bugs with the VolumeBar (#4023) (da2a1e0), closes #4021 #4022
  • add buildWrapperCSSClass methods to all menu buttons (#4147) (61d427c)
  • Add lang attribute to player el, so that css :lang() is correct (#4046) (17143fd)
  • addChild instance names should be toTitleCased (#4116) (576ac19)
  • allow changing volume in full height of volume control (#3987) (f87ada1)
  • copy basic plugin properties onto the wrapper (#4100) (127cd78)
  • cues at startTime 0 do not fire (#4152) (a2b1a33)
  • Disable all time tooltips in IE8, as they are broken (#4029) (60bcc99)
  • disable title attribute on menu items (#4019) (04f23c1), closes #3699
  • Do not create element for MediaLoader (#4097) (1cb0a97)
  • early play should wait for player ready, even if source is available (#4134) (3bbf019), closes #4057
  • EventTarget is also evented (#3990) (e34335b)
  • fix the structure of elements in menus to comply with ARIA requirements (#4034) (1b1ba04)
  • focus play toggle from Big Play Btn on play (#4018) (4f79e1e), closes #2729
  • hide font-icons from assitive technology (#4006) (24d2e7b), closes #3982
  • improve French translation (#4062) (dc4c1eb)
  • keep minimum volume after unmuting above 0.1 (#4227) (16c1e0a), closes #4054
  • localize aria-labels (#4027) (0ac1269), closes #2728
  • Make Player#techCall_() synchronous again (#3988) (3585af0)
  • make load progress buffered regions height 100% (#4190) (424fa51)
  • make mergeOptions behave the same across browsers (#4088) (0da9324)
  • make sure audio track hides with one item (#4202) (0fd7aad)
  • Muting with MuteToggle sets ARIA value of VolumeBar to 0 (#4099) (181a19f), closes #4064
  • not showing default text tracks over video (#4216) (dbfba28)
  • Patch a memory leak caused by un-removed track listener(s). (#3976) (4979ea7)
  • Progress holder gaps cause tooltips misalignment and time tooltip outlines (#4031) (be27f2a), closes #3645
  • remaining time display width on IE8 and IE9 (#3983) (866a3f3)
  • MenuButton: Unify behavior of showing/hiding (#4157) (c611f9f)
  • remove focus ring from player itself (#4237) (e98c65d)
  • audio-tracks-button: add wrapper CSS builder to audio tracks menu button (#4163) (d9ec7bc)
  • cues: only copy cue props that don't exist (#4145) (0f57341)
  • dom: getBoundingClientRect check that el is defined (#4139) (fb88ae2)
  • icon-placeholder: align icons on ie8 properly (#4174) (1770f00)
  • ie8: various minor ie8 fixes (#4175) (cb890a9)
  • package: update xhr to version 2.4.0 (#4101) (5265624)
  • playback rate menu: playback rate menu items should be selectable (#4149) (a9f8fcb)
  • sass: import path has cwd once again (#4061) (caff93f)
  • sass: import path no longer has cwd (#4001) (19b429b), closes #3998
  • subs-caps-button: add hide threshold to subs-caps button (#4171) (88ee6af)
  • remove redundant Html5#play() (405b29b)
  • removeCue should work with native passed in cue (#4208) (f2b5a05)
  • Set MuteButton controlText correctly (#4056) (3c1108c)
  • silence play promise error (#4247) (0908d91)
  • Solve a typo in translation files (#4063) (5540868)
  • support empty src in Player#src (#4030) (6541467)
  • synchronously shim vtt.js when possible (#4083) (e1b4804)
  • trap tab focus in modal when hitting s-tab (#4075) (1f7a842), closes #4049
  • updating time tooltips when player not in DOM (#3991) (22aade1)
  • subs-caps-button: add wrapper CSS builder to subs caps button (#4156) (e5af0a5)
  • subs-caps-button: captions items should hide icon from SR (#4158) (2ee133f)
  • text track settings: focus subs-caps button if exists over CC button (#4155) (db901c5)
  • tracks: allow forcing native text tracks on or off (#4172) (67634cf)
  • vttjs: wait till tech el in DOM before loading vttjs (#4177) (ddde644)

Chores

  • 6.x build updates (#4228) (6d876ee)
  • Add flash as a dev dependency for testing (#4016) (4949619)
  • change accessibility test in grunt.js to remove unnecessary warning message. (#4143) (dacf0ca)
  • package: update remark-validate-links to version 6.0.0 (#4128) (1395677)
  • ignore qunit and sinon from greenkeeper (#4242) (29d733d)
  • increase browserstack/karma timeouts, dispose player in tests (#4135) (6874fa2)
  • only report errors during linting in the build process, not warnings (#4041) (6208e4b)
  • remove bower.json (#4238) (0d19a05), closes #4012
  • package: update webpack to version 2.3.0 (#4219) (0223057)
  • Remove component.json and remove references to it (#3866) (0bba319)
  • docs: Use Elephants Dream video files from CDN for docs/examples/elephantsdream/ (#4181) (af1c6e3)
  • package: pin karma to 1.3.0 (#4002) (5b8b41e)
  • package: update remark-cli to version 3.0.0 (#4126) (dc9ed1c)
  • package: update remark-lint to version 6.0.0 (#4129) (9ef2d07)
  • package: update remark-toc to version 4.0.0 (#4127) (d5a619d)
  • package: update uglify-js to version 2.8.8 (#4170) (bf787bd), closes #4138
  • package: update videojs-vtt.js to version 0.12.3 (#4221) (7d12c9e)
  • package: update xhr to version 2.3.3 (#3914) (924fb27)
  • switch from ghooks to husky (#4074) (c3b1d68)
  • sandbox: Fix poster image to match the video in the 'combined-tracks.html' example in sandbox (#4164) (5ffe1cd)
  • sandbox: Use Elephants Dream video files from CDN for the sandbox/descriptions.html.example. (#4137) (715f584)
  • test: silence plugin warning from test (#4173) (05e6494)
  • tests: make tests not print out errors (#4141) (f95815b)

Code Refactoring

Documentation

Tests

BREAKING CHANGES

  • setting the source is now asynchronous. sourceOrder option removed and made the default.
  • remove deprecated features.
  • volume panel: remove VolumeMenuButton, introduce a new default volume control: VolumePanel.
  • removal of keepTooltipsInside option.
  • some externally accessibly functions for tracks are now private.
  • player methods no longer return a player instance when called. Fixes #3704.
  • removal of component.json
  • remove flash tech from core.
  • restoring the outlines changes the skin slightly and potentially break users. Fixes #3200.
  • registerComponent now throws if no name or not a component is passed in.
  • remove the double loadstart handlers that dispose the tech/source handlers if a secondary loadstart event is heard.
  • remove ability to add children with options as a boolean.
  • removing ability to use TimeRange methods without an index.
  • button component will always use a button element.
  • play() no longer returns the player object but instead the native Promise or nothing.

Don't miss a new video.js release

NewReleases is sending notifications on new releases.