- This file declares a class,
Player, instantiates it, and assigns it to a globalplayervariable. - The
Playerclass contains four methods:constructor()playPause()skipTo()setVolume()
- The
constructor()method sets initial values for thecurrentlyPlaying,playState,volume, andsoundObjectproperties.currentlyPlayingis set to the first item inalbum.songs.- The initial
playStateis"stopped". - The
volumeis set to the number80.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 🚨*PRODUCTION* 🚨 | |
| `candidco-web` Release `19.X.XX.X` available for review https://www.candidco.com | |
| https://github.com/candidco/candidco-web/pull/<PR_NUMBER> | |
| ``` | |
| ``` |