omp
omp copied to clipboard
OMP - OneDrive Media Player on the web / 网页端 OneDrive 媒体播放器
OMP - OneDrive Media Player
English | 中文
Features
- [x] OneDrive Files View
- [x] Music Playback
- [x] Music Metadata
- [x] Video Playback
- [x] Play Queue
- [x] Dark Mode
- [x] Media Session
- [x] PWA
- [x] History Sync
- [x] Playlists Sync
Screenshots
FAQ
Where is my data stored?
All of OMP data is stored in the Apps / OMP
folder in your OneDrive. Where history.json
is the history and playlists.json
is the playlists. If you have lost your data, you can restore an older version by visiting the OneDrive web version.
Running and Build
App registrations
- Go to https://portal.azure.com/
- Into
App registrations
register an application -
Supported account types
select the third item (Accounts in any organizational directory and personal Microsoft accounts
) -
Redirect URI
selectSPA
, url enter http://localhost:8760 or the domain of your deploy -
API Permissions
addUser.Read
Files.Read
Files.ReadWrite.AppFolder
Run dev server
Add .env.development
in project path
CLIENT_ID=<clientId>
REDIRECT_URI=http://localhost:8760
Run npm i && npm run dev
Local build
Add .env
in project path
CLIENT_ID=<clientId>
REDIRECT_URI=<redirectUri>
Run npm i && npm run build