Skip to content

Releases: clappr/clappr

0.3.2

14 Jan 17:32
Compare
Choose a tag to compare
  • Update hls.js to version 0.12.2
  • fix: return correct value for isMuted on HTML5 video playback

0.3.1

14 Jan 17:33
Compare
Choose a tag to compare

Fixes

  • MediaControl: use checked references to container and playback to avoid exceptions

0.3.0

12 Nov 21:41
Compare
Choose a tag to compare

This release has a number of internal changes, so it may contain some unforeseen breaking changes. Please run some tests carefully before updating.

There were some events and properties that were changed on the main player components (Core, Container, MediaControl). We tried to keep all changes backwards compatible, so most plugins will work unchanged.

About the MediaControl, it has been changed into a UICorePlugin itself. So in order to replace it, one just needs to provide another plugin with the media_control name property, to be used as key for the Loader registry.

The changes in this release pave the way for the next iteration in the Clappr architecture, which will make it easier to have a smaller codebase for creating new players (clappr-core), as well as customizing the player itself or its controls.

Features

  • core: added the activePlayback and activeContainer properties, replacing the current getCurrentPlayback() and getCurrentContainer() respectively. Those methods were kept for backwards compatibility, but we recommend to use the new references as soon as possible.
  • media_control: it has been changed into an UICorePlugin. Now it references the activeContainer on the Core instance, so whatever references to core.mediaControl.container should be changed to core.activeContainer instead.
  • events: new events were added (CORE_ACTIVE_CONTAINER_CHANGED, CORE_MOUSE_MOVE/CORE_MOUSE_LEAVE) to replace the MediaControl related ones. The old events have been kept for backwards compatibility, but will be removed in future versions.

0.2.93

15 May 17:37
Compare
Choose a tag to compare
  • new Browser fields holding more browser/os/viewport information (Clappr.Browser.{data,os,viewport})
  • merge Playback destroy into UIObject remove method
  • fix: disable error screen plugin when unnecessary or not wanted
  • fix: use i18n fallback messages when unavailable in the current locale
  • fix: reset HLS playback properly on errors (calling play now reloads the video)

0.2.92

14 May 01:50
Compare
Choose a tag to compare
  • Do not verify if DVR is in use to determine current position #1222
  • improve error #1629
  • error mixin expansion #1631

0.2.91

14 May 01:48
Compare
Choose a tag to compare
  • refactor html5_video: deleting src attribute using removeAttribute method instead delete operator #1615
  • update eslint rules 92f7451 b92a086
  • run linter as part of validation step a61bd3a
  • new error component #1614
  • new error Plugin #1624

0.2.90

14 May 01:43
Compare
Choose a tag to compare
  • fix: re-add removed script tags 570d863
  • fix: use correct level switching event b37b7ce

0.2.89

14 May 01:41
Compare
Choose a tag to compare

0.2.88

14 May 01:36
Compare
Choose a tag to compare
  • displaying seek time and duration according #EXT-X-PROGRAM-DATE-TIME #1511
  • update dependencies #1587
  • remove unnecessary files from node_modules #1588
  • enable MediaControl configuration after player creation #1593
  • update docs #1594 #1595 #1596 #1597 #1598
  • gitignore: add yarn-error.log and and package-lock.json (since we use yarn) #1601

0.2.87

14 May 01:27
Compare
Choose a tag to compare
  • adaptive media API and playback base class and extended player config #1554
  • update README.md #1566
  • fix: configure ignoring options when has source attribute #1567
  • fix: reset volume/mute on configure #1568
  • main: export ClickToPausePlugin, WaterMarkPlugin, Favicon and SpinnerThreeBounce #1572
  • fix: disappearing hd indicator after render #1574
  • pass a copy of hlsjsConfig to HLS.js #1575
  • merge custom translations with default #1576
  • fix: onReady event firing with m3u8 #1578
  • create PLAYBACK_SEEK event #1580
  • fix chromeless mobile #1582
  • trigger time update after play on HLS playback #1583