New repository is https://github.com/itchyny/LocalPlayer.
- A media player on your browser for LOCAL FILES.
- Drag mp3/ogg files from file browser into the window.
- Or, you can also add music files from a file dialog, which appears when you click the '+' button.
- You'll find the file name show up.
- And player above will automatically start to play the file.
- If you double-click the file name in the file list, it'll start to play that file.
Yet you can open and play (and pause, and so on) a mp3 file with Google Chrome, but only one file. Local Player allows you to listen to multiple files without any annoying operation.
Press ? to see the keyboard shortcuts. (For shortcuts, I didn't write some to the list, which appears when ? pressed. For example, you can also use Alt+Space to pause. This was added because in Mac, Ctrl+Space is Spotlight. And as for Mac users, Command key can be also used where it is written as: .)
music: mp3, ogg, aac, m4a video: mp4
Save the file list Support for other types like wav or flac
I pushed this source to github. https://github.com/itchyny/ChromePlayer (Local Player used to be named Chrome Player) I allow you to fork another app from this code. This application is distributed under the MIT license.
You may wonder why this App accesses "all data from your website". Actually, this App gets no data from your browsing site. This permission is needed for "Global keyboard control." It is realized by following: listening the keydown event, and if it was → or ←, the player catches that event and seek for next or previous music.
If you want see the script, open a site (www.google.com for example) and right click → inspect → Scripts, find chrome-extension://chkhjlbdflppmaddpjmjecgdagdljimc/js/shortcuts.js. "chkhjlbdflppmaddpjmjecgdagdljimc" is the id number for this App.