Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Try setting autoplay before loading through JS

Oliver Günther340337cca809
diff --git a/frontend/src/stimulus/controllers/dynamic/media-dialog.controller.ts b/frontend/src/stimulus/controllers/dynamic/media-dialog.controller.ts
index b3c7ae6cebf..d65eb00a36b 100644
--- a/frontend/src/stimulus/controllers/dynamic/media-dialog.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/media-dialog.controller.ts
@@ -43,6 +43,9 @@ export default class MediaDialogController extends Controller<HTMLDialogElement>
console.error('Video failed to load in dialog context:', event);
});
+ // Try setting autoplay now
+ target.autoplay = true;
+
// Force reload the video source to work around Firefox dialog issues
target.load();
});