Mini Project
Mini Project
Mini Project
To:
Ms.Parul By:Priyanshu Kumar
University Roll No:2002300100122
College Roll No:15094
Abstract:-
As streaming is increasingly being adopted by users,
online media players have become essential for
consuming media on the internet. Music players allow one
to enjoy music in any browser and supports a lot of the
features of an offline music player.
Details Portion: This section shows the details of the current track
being played. It includes the track number, track album, track name
and track artist.
Buttons Portion: This section shows the buttons that are used to
control the playback of the track. It includes the play/pause button,
the previous and next track buttons. They would have an onclick()
method that calls a specific function defined in the JavaScript file.
Sliders Portion: This section contains the seek slider and volume
slider that can be used to control the playback and volume.
The CSS Styling
Using CSS we can style the different portions to make it more
visually appealing:
The two sliders have been modified from their default look by
using the appearance property. The height and background are
changed to suit the color scheme. They are also given slight
transparency that smoothly transitions to the full opacity using
the transition property.
All the playback controls have their cursor property set so that it
changes to a pointer whenever the mouse hovers over it.
JavaScript
Loading a new track from the tracklist