protonradio / player Goto Github PK
View Code? Open in Web Editor NEWProton Player is an HTML5-based streaming music player optimized for compatibility across many devices and browsers.
Home Page: https://protonradio.com
License: MIT License
Proton Player is an HTML5-based streaming music player optimized for compatibility across many devices and browsers.
Home Page: https://protonradio.com
License: MIT License
Currently to build queue or playlist-style functionality you must manage the queue externally and manually trigger a call to .play()
the next track when the current one has ended. This also requires manually calling .preload
for each track in the queue and doesn't quite achieve gapless playback.
This update will add an internal track queue to the Player. Each queued track will be automatically preloaded and playback of subsequent tracks will start automatically. There will be a basic API for managing this queue exposed as part of the library.
With the player having an internal concept of a "next" track, it will then be possible to use a single audio output buffer and just immediately start writing bytes from the next track into it when the current one has no more bytes available, providing gapless playback.
It is unclear how much more difficult this will be for the AudioContext
implementation.
fileSize
no longer requiredThis can be automatically determined during the preload process by inspecting the HTTP headers present at the provided track's URL. Having to manually manage this value outside of the player can be cumbersome.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.