Add support for non-document resources like YouTube videos and websites