Pergunta

In the all new mac pro introduction page, when you click those dots on the left down to up one by one, the video plays backward, too. But Chrome or Firefox doesn't support negative playbackRate property, and there seems no another backward recorded video.

Foi útil?

Solução

I found a solution last night.

var video = document.getElementByID("video");
video.currentTime = 10;
video.pause();
function reverse() {
    video.currentTime -= 0.01;
    setInterval(reverse,10);
}
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top