Refactor block videos so they can share some features with inline videos.