adding support for wide video and image