Add support for video orientation