News
- Add alias to the following folders:
assets
,components
,modules
,utils
,mixins
,context
,parser
- Add React Context API to project
- Add option to import the audio component (
import { Audio } from ...
) - Add option to run the audio processing and requests into a web worker or in main thread
- Add option to pass tracks as prop to component and the thread (
worker
,main
)
Example of tracks array:
tracks: [
{
name: 'Small Piece of music LND',
artist: 'League of Legends',
url: shortLegendsNeverDie // imported or URL
},
{
name: 'Legends Never Die',
artist: 'League of Legends',
url: legendsNeverDie // imported or URL
},
{
name: 'Rise',
artist: 'League of Legends',
url: rise // imported or URL
},
{
name: 'Fantastic - Cinematic Sound',
artist: 'AudioJungle',
url: fantastic // imported or URL
},
],
Updates
- Organize devDepencencies and dependencies correctly
- Update ReactJS from
16.7.0
to16.8.6
- Update all plugins and dependencies
- Organize project structure
- Update imports
Fixes
- Fix change volume error when player not started