added video parsing for width and height