diff --git a/monitor/templates/task_detail.html b/monitor/templates/task_detail.html
index 4bf6f95..ced6f52 100644
--- a/monitor/templates/task_detail.html
+++ b/monitor/templates/task_detail.html
@@ -73,7 +73,7 @@
Loading video...
@@ -103,7 +103,7 @@
{% endif %}
{% if step.screenshot_file %}
-
{% endif %}
@@ -155,7 +155,7 @@
}, 2000);
// Directly check video source availability with fetch API
- fetch('/task/{{ task_type }}/{{ task_id }}/recording', {method: 'HEAD'})
+ fetch('/task/{{ task_type }}/{{ task_id }}/recording?action_space={{ action_space }}&observation_type={{ observation_type }}&model_name={{ model_name }}', {method: 'HEAD'})
.then(function(response) {
if (response.ok && videoStatus.textContent === 'Loading video...') {
// If HEAD request succeeds but video events haven't fired