Added support for deteecting video rotation for thumbnails