Make videos and video thumbnails work with HTTPS. (#550)