This doesn't make it very easy to change the logic for creating views for each attachment. It would be nice to delegate to a .createAttachmentView(oembed) method that can be extended easily.