Update embed.php

Added some fallbacks to make sure an image always displays.