Skip to content

A sleek, lightweight music player built with JavaScript and the Web API. It effortlessly plays tracks from any folder, letting you loop your favorite tunes all day long. Perfect for developers—because once you hit play, the rhythm flows non-stop as you code, turning every keystroke into the beat that powers your next masterpiece.

License

Notifications You must be signed in to change notification settings

oduortoni/sonika

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 Sonika Player

Sonika Player is a clean, responsive, and modern web-based audio player built using HTML, CSS, and JavaScript. It allows users to play audio tracks, view track information, control playback, and toggle looping — all within a stylish interface.

🚀 Features

  • 🎧 Play/Pause toggle
  • 🔁 Loop toggle with visual indicator
  • 🎚 Interactive progress bar with time tracking
  • 🖼 Album art display
  • 🎤 Track title and artist display
  • 🕒 Real-time duration and elapsed time updates
  • 💻 Fully responsive and mobile-friendly design

📁 File Structure

sonika-player/
│
├── index.html            # Main HTML file (UI + JavaScript logic)
├── logo.png         # Album artwork displayed in the player
└── tunes/
    └── sugarcane.mp3     # Audio file to be played

🛠 Setup Instructions

  1. Clone or download the repository.
  2. Place your MP3 audio file in the tunes/ folder and update the <audio src> path in the HTML if needed.
  3. Replace album-art.jpg with your own album image for a custom look.
  4. Open index.html in your browser to launch the player.

🧑‍🎨 Customization Tips

  • Change colors and fonts in the <style> section to match your theme.
  • Modify the default song and image in the HTML.
  • Add more buttons or features like volume control, playlist support, etc.

📷 Preview

Insert a screenshot of the player here for visual reference

📄 License

This project is open-source and free to use for personal and educational purposes

About

A sleek, lightweight music player built with JavaScript and the Web API. It effortlessly plays tracks from any folder, letting you loop your favorite tunes all day long. Perfect for developers—because once you hit play, the rhythm flows non-stop as you code, turning every keystroke into the beat that powers your next masterpiece.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •