Skip to content

Releases: SevenOutman/vue-aplayer

v1.6.1

25 Jun 07:18
2fb6a2d
Compare
Choose a tag to compare

Bug Fixes

v1.6.0

28 May 04:30
Compare
Choose a tag to compare

Completed.

This release is the final minor update for Vue-APlayer 1.x, which means there won't be new features added into Vue-APlayer v1. After some cleanup in commit history, we will checkout a v1 branch for future patches, and move on to Vue-APlayer 2.

API Change

  • New disableVersionBadge API. 6d5fff7

Improvements

  • Remove !important styles. 3f938d8

v1.5.2

18 May 17:09
Compare
Choose a tag to compare

Bug Fixes

  • Prevent error thrown on seeking a failed audio src b4f58c4
  • Prevent alignments being affected by parent elements' styles, fix #41 01cc205

Improvements

  • Fix styling issues on mobile devices 9938a83
  • Improved flexbox-based UI implementation

v1.5.0

20 Apr 15:54
Compare
Choose a tag to compare

Play the list

This minor release comes with some changes focusing on the playlist that we recommend every user should update.

Prop Changes

  • Removed mode, replaced with new shuffle and repeat props (a39a023).
  • Note that mode is REMOVED rather than simply deprecated, which means using mode in v1.5.0+ does not work and may cause errors (Deprecated props still work but with warnings).

v1.4.3

13 Apr 11:03
Compare
Choose a tag to compare

Improvements

  • Reduce bundle size, fix #33

v1.4.2

02 Apr 14:57
Compare
Choose a tag to compare

Bug Fixes

  • Remove non-standard .finally() call on a Promise which may throw an Error in some browsers

v1.4.1

27 Mar 05:43
Compare
Choose a tag to compare

Props Changes

Improvements

  • Loading indicator on progress bar thumb (f111e9f)

v1.4.0

31 Mar 17:33
Compare
Choose a tag to compare

Back to <audio>

Audio element is where we started to play music on our sites and pages.
In this minor update, we think over, focusing on how we respect native HTML <audio> element.

<audio> attributes as props

  • We take some of <audio> attributes from this Attributes List on MDN and make them props. They are autoplay controls muted preload and volume. Among them, muted and volume are two-way-ed, allowing you some custom external control capability.
  • You may notice that originally supported autoplay and preload props have been switched into that group now.
  • Music info's url property is deprecated now, replaced with src.

<audio> events

  • Just like supporting audio attributes, Vue-APlayer emits every Media Event triggered on its internal <audio> element. You can find a full list on MDN.

Improvements

  • GREATLY improved seeking behavior
  • Improved styling and UI implementation

Props Changes

  • theme now defaults to #41b883
  • Music info's url property is deprecated now, use src instead
  • Missing music.title music.author don't throw an error now

Events Changes

  • Custom events are ALL deprecated. Use Media Events instead.

v1.3.1

20 Mar 17:11
Compare
Choose a tag to compare

Bug Fixes

  • Fix a problem that may cause mismatch between soundtrack and music info, when switching to an HLS media but hls.js is missing.

v1.3.0

19 Mar 08:56
Compare
Choose a tag to compare

Naming

We are now officially naming this package Vue-APlayer in written occasions, instead of vue-aplayer or any other terms with different letter casing.

Getting smarter

With optional dependencies, Vue-APlayer now supports some interesting new features.

Per song specific theme color

  • If you have a list of songs to play, now you can assign different theme to them individually.

Self-adapting theme color

  • If a song's theme is set to 'pic', Vue-APlayer takes major or average color from the song's cover image as its theme color.

  • If the player's theme is set to 'pic', it applies to all songs in the list.

  • Requires color-thief to be included.

HLS support

  • In general, *.m3u8 format support.
  • Requires hls.js to be installed.