Frage

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.

War es hilfreich?

Lösung

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);
}
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top