added caption-Feature to videos and images

tested everything and everything is fine :) 
wrong identation here and many other places