function WhammyVideo(duration, quality) {
        this.frames = [];
        if (!duration) {
            duration = 1;
        }
        this.duration = 1000 / duration;
        this.quality = quality || 0.8;
    }
function WhammyVideo(duration, quality) {
        this.frames = [];
        if (!duration) {
            duration = 1;
        }
        this.duration = 1000 / duration;
        this.quality = quality || 0.8;
    }
function WhammyVideo ( duration , quality ) { this . frames = [ ] ; if ( ! duration ) { duration = 1 ; } this . duration = 1000 / duration ; this . quality = quality || 0.8 ; }
a more abstract-ish API
a more abstract - ish API
Whammy video