show video or photo external resource based on type