Named in honor of Devon Govett, main author of this player.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources
README.md
player.css
player.html
player.js

README.md

DGPlayer

Interface

interface DGPlayer {
    on(event, callback);           // event: play, pause, volume 
    off(event, callback);
    
    property string state;          // buffering, playing, or paused
    property number bufferProgress; // 0-100
    property number startTime;      // in milliseconds since the epoch
    property url coverArt;
    property number volume;         // 0-100
    property string songTitle;
    property string songArtist;
}