Try to prevent xss and improve video fetching