Love, Joy, Peace...
// But, even better if you have access to a worker or can otherwise output the file through a script (and modify resonse headers) async function getFile(request) { let response = await fetch('https://drive.google.com/file/d/1jYV6YcLPNuiuUd8_Ndy25n2ed3haFYSu/view?usp=sharing', request) response = new Response(response.body, response) response.headers.set('Accept-Ranges', 'bytes') // Allow seeking, not necessarily enabled by default response.headers.set('Content-Disposition', 'inline') // Disable Google's attachment (download) behaviour, display directly in browser or stick into video src instead return response } addEventListener('fetch', event => { event.respondWith(getFile(event.request)) })