OMP - OneDrive Media Player on the web / 网页端 OneDrive 媒体播放器
English | 中文
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.
App registrations
register an applicationSupported account types
select the third item (Accounts in any organizational directory and personal Microsoft accounts
)Redirect URI
select SPA
, url enter http://localhost:8760 or the domain of your deployAPI Permissions
add User.Read
Files.Read
Files.ReadWrite.AppFolder
Add .env.development
in project path
CLIENT_ID=<clientId>
REDIRECT_URI=http://localhost:8760
Run npm i && npm run dev
Add .env
in project path
CLIENT_ID=<clientId>
REDIRECT_URI=<redirectUri>
Run npm i && npm run build