Added CDN and youtube support