- This file declares a class,
Player
, instantiates it, and assigns it to a globalplayer
variable. - The
Player
class contains four methods:constructor()
playPause()
skipTo()
setVolume()
- The
constructor()
method sets initial values for thecurrentlyPlaying
,playState
,volume
, andsoundObject
properties.currentlyPlaying
is set to the first item inalbum.songs
.- The initial
playState
is"stopped"
. - The
volume
is 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> | |
``` | |
``` |