refactored media in excerpt function to grab videos.needs further testing
made it so that the title will remain even if you hit submit with no content