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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Apply the same logic to enterprise trial
Oliver Günther5d67505c191b
diff --git a/app/components/enterprise_trials/welcome_dialog_component.html.erb b/app/components/enterprise_trials/welcome_dialog_component.html.erbindex 8aa6b2f7aaf..2cc778a0980 100644--- a/app/components/enterprise_trials/welcome_dialog_component.html.erb+++ b/app/components/enterprise_trials/welcome_dialog_component.html.erb@@ -17,17 +17,26 @@endflex.with_row(mt: 2) docontent_tag :div, class: "onboarding--video" do- render(Primer::BaseComponent.new(- my: 2,- tag: :video,- frameborder: "0",- height: "430",- width: "100%",- autoplay: "autoplay",- controls: true,- src: OpenProject::Static::Links.url_for(:enterprise_welcome_video),- allowfullscreen: true- ))+ render(+ Primer::BaseComponent.new(+ my: 2,+ tag: :video,+ height: "430",+ width: "100%",+ controls: true,+ preload: "none",+ allowfullscreen: true,+ data: { "media-dialog-target": "video" }+ )+ ) do+ render(+ Primer::BaseComponent.new(+ tag: :source,+ src: OpenProject::Static::Links.url_for(:enterprise_welcome_video),+ type: "video/mp4"+ )+ )+ endendendend