added video and gallery extract code from content with modified styling