SDK-Components - Release Notes

Here you can find release notes regarding the SDK-Components. Each release note will tell you highlights in each version, what's new and what's been fixed.

5.0.4

Released 2022-09-26
Highlights
  • Minor bugfixes
Release notes

Fixes

  • TSC build error fixed: 'get' and 'set' accessor must have the same type

5.0.3

Released 2022-09-13
Highlights
  • Minor bugfixes
Release notes

Fixes

  • Dragging a single point now works again.

5.0.2

Released 2022-09-13
Highlights
  • Minor bugfixes
Release notes

Fixes

  • ApAudioMeterBasic: Fixed issue that causes audio meter to not work in monoMix mode when discrete audio tracks are loaded.
  • ApAudioMeterBasic: Bug causing ApAudioMeterBasic to stop showing correct values for channels.
  • ApTimeline: Waveform now works after connecting and disconnecting the timeline component.
  • ApTimelineRangeSelect: Api method 'position' was returning incorrect value.

5.0.0

Released 2022-05-24
Highlights
  • Gonio- and Correlation meter components
  • Fine-grained seek and range selection using the mouse
Release notes

Breaking

  • The new components, Gonio- and Correlation meter (and also the VU-meter), makes use of a new ChannelControlPlugin API. These components will throw an error if used with an earlier version of Accurate Player (<=7.0.0).

Features

  • ApGoniometer: New component that can be used to highlight phase differences between two audio signals
  • ApCorrelationMeter: New component that displays the phase relationship of a stereo signal.
  • ApTimelineBasic:
    • You can now hold down shift while dragging the current time indicator or range selection in order to gain better precision
    • apPointDragStart callback now provides start and end values
  • ApTimelineRangeSelect: Added changeFactor property to control the amount of change per frame dragged
  • ApTimelineCurrentTimeIndicator: Added changeFactor property to control the amount of change per frame dragged

Fixes

  • ApTimelineBasic: zoomMin and zoomMax are now clamped when duration (max) changes.
  • ApTimelineMarker/ApTimelineMetadata: fixed issue merging marker data on marker data updates. This would sometimes cause the marker style to not be merged correctly.
  • ApAudioMeterBasic: The meter no longer show any values for channels that have no routing.

4.0.1

Released 2022-04-27
Highlights
  • Minor fixes
Release notes

Fixes

  • ApTimelineRangeSelect: It no longer allows the selected range to go out of bounds when manually set to a value outside the min/max interval.

4.0.0

Released 2022-03-29
Highlights
  • New Timeline component: Spanning marker
  • Added possibility to bulk select markers in the timeline
Release notes

Breaking

  • ApTimeline/ApTimelineBasic: The component now establishes a new containing block for all descendants. This ensures that the padding box will be used to layout for all of its absolute-position descendants, fixed-position descendants, and descendants with fixed background attachments. This might affect absolute- and/or fixed positioned content that you may have placed in the timeline, as it will now be positioned relative to the timeline instead of a containing block outside of the component.

Features

  • ApTimelineSpanningMarker: New component. The component can be used to show a marker on the timeline that spans across the whole timeline height. This is useful to show divisions of the timeline over all groups and rows.
  • ApTimelineRangeSelect
    • Added way to snap start and end position of the range select to a given array of values. Enable the snap functionality by setting the snap property to true and setting the values to snap to using the snapValues property. A new callback/event apSnap/apsnap will be called/emitted when the start or end value is changed by a snap.
    • Added readOnly property that can be used to toggle read only mode. The read only mode disables interaction like moving the start and end positions of the range.
    • Added apClick/apclick property/event that is triggered when the range select is clicked.
    • Added property lockWidth that can be used to lock the width between the start and end of the range.
  • ApTimelineMetadata
    • Added support for registering double click callbacks for timeline markers.
    • Extended marker styling options. It is now possible to set cursor, borderWidth, borderColor and borderRadius.
  • ApTimelineMarker: Extended marker styling options. It is now possible to set cursor, borderWidth, borderColor and borderRadius.
  • ApTimelineGroup: Added an opacity transition on the groups content when it is opened/closed.
  • Added SelectionController utility class that implements selection behaviour. This feature makes it easier to implement selections that span multiple rows, more information and examples are available in the documentation.

Fixes

  • ApTimelineRangeSelect: Fixed a bug which made it hard to grab the right and left handles.
  • ApTimelineGroup: Changed how the group height is calculated for the open/closed transition to avoid overflowing elements affecting the transition.
  • ApTimelineCurrentTimeIndicator: Fixed a bug when using lineMode: LineMode.BOTH that caused the indicator line to not cover the whole timeline.
  • ApScrollArea: Scroll handle should no longer overflow the scroll content container.
  • ApAudioMeterBasic: Seeking in video while playing no longer sets audio levels to 0

3.2.0

Released 2022-01-25
Highlights
  • Timeline component improvements
  • Visual guidelines in the VU meter
Release notes

Packages

@accurate-player/accurate-player-components-external

Features

  • ApTimelineRangeSelect: Added property that can be used to toggle the visibility of the grabbable handles.
  • ApTimelineMarker:
    • Added optional disabled state. A disabled marker has no hover or selected state, is not clickable and have default opacity: 0.1
    • Added optional new behavior to MarkerApi nextMarker and previousMarker to be able to wrap the list of markers so that if the next marker can't be found after the current one it will start from the beginning of the marker list and the other way around for previousMarker call.
  • ApTimelineWaveform:
    • Added property loading. Set to true to show a loading indicator on top of the waveform.
    • Added property error that can be used to set an error message. The error will be shown on top of the waveform. If the loading indicator is active at the same time it will take precedence.
    • Added property warning that can be used to set a warning message. The warning will be shown on top of the waveform. If the loading indicator or error message is set at the same time it will take precedence.
    • The apDataRequest callback now reports more metadata about why it was called. A third argument was added that includes information about what ranges of data that are currently missing and what ranges that do not meet the score threshold requirements.
    • Added api method api.resetIgnoreRanges() that can be used to clear what ranges of data that are ignored.
  • ApAudioMeterBasic/ApAudioMeter:
    • Added property guidelineThresholds that makes it possible to add visual guideline thresholds to the VU meter. The guidelines can be used to verify that the audio levels are within range.

3.1.0

Released 2021-11-23
Highlights
  • New audio routing component
  • Audio meter improvements
  • Timeline waveform zoom
Release notes

Packages

@accurate-player/accurate-player-components-external

Features

  • AudioRoutingBasic: New component added to the component library. Can be used to change channel routing for audio tracks in Accurate Player.
  • ApTimelineBasic:
    • Added properties `rangeMax` and `rangeMin` which makes it possible to limit the range select.
    • Added waveform vertical zoom functionality
  • ApAudioMeterBasic:
    • "Mono mix" mode is added to ApAudioMeterBasic. When enabled, shows a single bar representing the dB values for all tracks. Also, removes the "VU meter size" section from the settings popup menu.
    • Added soloMuteButton property to add solo/mute buttons for each channel
    • Added channelLabels property that gives you the possibility to specify channel labels to be shown beneath the channel bars
  • ApScrollArea: Added support for horizontal scrollbars

Fixes

  • ApScrollArea:
    • Fixed bug which caused scroll positions to be reset when the component was moved in the DOM.
    • Fixed bug which caused dragging of scroll handles to stop working after the component was moved in the DOM.
  • ApSelectionTool:
    • Fixed issue where api.resetSelectionArea() would cause the selection to go outside of the current bounds.
    • Replaced usage of ClientRect (deprecated) with SelectionToolRect
  • ApTimelineBasic:
    • Minor bug that caused the timeline preview to lose its position when dragging the current time indicator.
    • Removed documentation for css variable --ap-audio-meter-channel-width since the width is set by channelWidth property
  • ApTimelineMetadata
    • Fixed issue that caused the component to emit selection events when selection was not enabled

3.0.2

Released 2021-10-19
Highlights
  • Updated internal dependencies
Release notes

Packages

@accurate-player/accurate-player-components-external

Fixes

  • Updated internal dependencies

3.0.1

Released 2021-10-19
Highlights
  • Fixed bug in Firefox 93 that caused form elements to stop working
Release notes

Packages

@accurate-player/accurate-player-components-external

Fixes

  • Fixed bug in Firefox 93 that caused form elements to stop working

3.0.0

Released 2021-09-28
Highlights
  • Breaking: Migrated from lit to lit-element
  • Timeline now support zooming and panning with touchpad and scroll wheel
Release notes

Packages

@accurate-player/accurate-player-components-external

Features

  • ApTimelineBasic: Added support for touchpad and scroll wheel interaction in the timeline.
    • Pinch the touchpad / use ctrl + scroll to zoom
    • Pan the touchpad / use shift + scroll to move back and fourth
  • ApTimelineCurrentTimeIndicator: Added "snap to values" support in which, if configured, allows assistance to the user when scrubbing the media by snapping to start and end of markers within the timeline.
  • ApScrollArea: Now supports horizontal scrollbar.

Fixes

  • ApTimelineBasic: Hide tip of CTI sticking out the bottom in firefox.

Breaking

  • Migrate to lit from lit-element.
    • This change is BREAKING for projects that runs lit-element@<3 and/or lit-html@<2.
    • These projects are recommended to update to using lit@^2 or upgrade to using lit-element@^3 and lit-html@^2.
    • For other projects this change is not breaking.

2.5.2

Released 2021-06-28
Highlights
  • Updated internal dependencies
Release notes

Packages

@accurate-player/accurate-player-components-external

Fixes

  • Updated internal dependencies

2.5.1

Released 2021-06-28
Highlights
  • Fixed black border issue with the Selection Tool
Release notes

Packages

@accurate-player/accurate-player-components-external

Fixes

  • Selection Tool: Fixed issue where manually removing black borders through an API call didn't update the selection area to fit the new boundaries

2.5.0

Released 2021-06-07
Highlights
  • Minor fix to ApSelectionTool
Release notes

Packages

@accurate-player/accurate-player-components-external

Fixes

  • ApSelectionTool: Fixed bug to make sure an aspect ratio is assigned correctly.

2.4.2

Released 2021-05-17
Highlights
  • Updated internal dependencies
Release notes

Packages

@accurate-player/accurate-player-components-external

Features

  • ApTooltip: Moved tooltip header styling into the component
  • Support for Accurate Player 5.1.0