Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

xrystalll/Music-Playlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music-Playlist

Music-Playlist

Creation and installation of the Firebase

{
    "rules": {
        ".read": true,
        ".write": true
    }
}
  • In file /public/audio.js on the fourth line insert your ID of the created database, eg:
const dbname = 'your_db_id';

Use

  • New tracks are added through the form when you click on the plus icon "+"

You can add more tracks in other ways, for example just paste html markup directly in the file /views/index.ejs in class playlist.

eg:

<div class="audio">
    <div class="audio-side">
        <div class="audio-btn" style="background-image: url('IMAGE URL')">
            <div class="control" data-src="AUDIO FILE URL"></div>
        </div>
    </div>
    <div class="audio-text">
        <span class="artist">AUTHOR NAME</span>
        <span class="title">SONG TITLE</span>
    </div>
    <div class="audio-menu">
        <a href="AUDIO FILE URL FOR DOWNLOAD" class="download" download>
            <i class="material-icons">get_app</i>
        </a>
    </div>
</div>
  • Delete added tracks can be added to the address bar to your URL this value:

?del

eg: http://localhost:8080?del

Releases

No releases published

Packages

No packages published