MetaCDN / videojs-vr_OLD

A video.js plugin that turns a video element into a HTML5 Panoramic 360 video player.
MIT License
24 stars 16 forks source link

Rotate the screen so that the camera is aiming at the center of the movie #2

Closed bplaa-yai closed 8 years ago

bplaa-yai commented 8 years ago

This PR updates the projection setup method by adding a rotation of the screen mesh, for sphere and cylinder projections, making the camera aim at the "center" of the (unprojected) movie. This can be useful when the titling expects the camera to be setup in this direction.

jbroberg commented 8 years ago

Thanks, good fix!