Preview of embedded video works properly

This fixes the preview you get when you click the preview button with an
embedded YouTube video.