Add debug logging for download URLs
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / Unstable release 🚀⚠️ (push) Has been cancelled
Push & Release 🌍 / Quality checks 👌🧪 (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled

- Log complete download URL to browser console for debugging
- Helps diagnose why bitrate/resolution parameters may not be working
This commit is contained in:
mani
2026-01-08 01:49:33 +01:00
parent eaf0768a65
commit 7cef19b1b7

View File

@@ -415,7 +415,9 @@ function buildDownloadUrl(apiClient, item, options) {
// Ensure proper seeking and duration metadata (copyTimestamps=false uses re-encoded timestamps)
params.set('copyTimestamps', 'false');
return `${apiClient.getUrl(`/Videos/${item.Id}/stream?${params.toString()}`)}`;
const url = `${apiClient.getUrl(`/Videos/${item.Id}/stream?${params.toString()}`)}`;
console.log('Download URL:', url);
return url;
}
function onSubmit(e) {