Modified view. Not working for video yet.