:cake: Easy-to-use music player for Vue 2.x
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.
disableVersionBadge
API. 6d5fff779f97f98620b7af611543b8bb890b90dd!important
styles. 3f938d8d3f51141bac95a5f479b6017fe6b40144This minor release comes with some changes focusing on the playlist that we recommend every user should update.
mode
, replaced with new shuffle
and repeat
props (a39a023caef13e0f3c22a8644ad413ea6d47d241).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).<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<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.autoplay
and preload
props have been switched into that group now.url
property is deprecated now, replaced with src
.<audio>
events<audio>
element. You can find a full list on MDN.theme
now defaults to
url
property is deprecated now, use src
insteadmusic.title
music.author
don't throw an error nowlistFolded
prop for folding playlist initially (f91ff7743f30e2b3a967f24a4852f875092e4ab2)music.author
to music.artist
according to ID3 tags standard (1a1f7c9e65d32d469d64ec0814966ae8413e521e)We are now officially naming this package Vue-APlayer
in written occasions, instead of vue-aplayer or any other terms with different letter casing.
With optional dependencies, Vue-APlayer now supports some interesting new features.
theme
to them individually.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.
*.m3u8
format support.