Change Video perspective

I am building a site on which I’d like to include a short video warped much like that found on the blocsapp site.

Is the warping done in the browser (JS or CSS?) or in the video editor.

All suggestions welcome

Thats a video, it would have been done in editing. Works and looks neat though.