javascripthtmlhtml5-video

Is it possible to play HTML5 video in reverse?


Can HTML5 <video> tag be played in reverse, or do I have to download 2 videos (forward and backward play)?

I'm looking for a solution that avoids a user from downloading 2 videos.


Solution

  • Without even going into HTML5 or Javascript, many video formats are streaming formats that are designed to be played forward. Playing it backwards would require decoding the whole stream, storing each raw frame on the disk to avoid clobbering memory, then rendering the frames backwards.

    At least one person actually tried that using mplayer, though, so it can be done, at least in principle.