src/windows/MediaProxy.js
function(win, lose, args) {
        var id = args[0];
        var milliseconds = args[1];
        var thisM = Media.get(id);
        try {
            thisM.node.currentTime = milliseconds / 1000;
            win(thisM.node.currentTime);
        } catch (err) {
            lose("Failed to seek: "+err);
        }
    }
function(win, lose, args) {
        var id = args[0];
        var milliseconds = args[1];
        var thisM = Media.get(id);
        try {
            thisM.node.currentTime = milliseconds / 1000;
            win(thisM.node.currentTime);
        } catch (err) {
            lose("Failed to seek: "+err);
        }
    }
function ( win , lose , args ) { var id = args [ 0 ] ; var milliseconds = args [ 1 ] ; var thisM = Media . get ( id ) ; try { thisM . node . currentTime = milliseconds / 1000 ; win ( thisM . node . currentTime ) ; } catch ( err ) { lose ( "Failed to seek: " + err ) ; } }
Seeks to the position in the audio
Seeks to the position in the audio