Added support for attached media

Note that video and opening links in
browser do not work yet.