Releases: clappr/clappr
0.3.2
0.3.1
0.3.0
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
andactiveContainer
properties, replacing the currentgetCurrentPlayback()
andgetCurrentContainer()
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 theactiveContainer
on theCore
instance, so whatever references tocore.mediaControl.container
should be changed tocore.activeContainer
instead. - events: new events were added (
CORE_ACTIVE_CONTAINER_CHANGED
,CORE_MOUSE_MOVE/CORE_MOUSE_LEAVE
) to replace theMediaControl
related ones. The old events have been kept for backwards compatibility, but will be removed in future versions.
0.2.93
- new
Browser
fields holding more browser/os/viewport information (Clappr.Browser.{data,os,viewport}
) - merge Playback
destroy
into UIObjectremove
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
0.2.91
0.2.90
0.2.89
0.2.88
- 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
- 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