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

452 B
Raw Blame
/**
 * Returns an absolute asset path from the assets/videos/ folder
 *
 * e.g., to access:
 * frontend/src/assets/videos/enterprise/date-alert-notification-settings.mp4
 *
 * use
 * imagePath('enterprise/date-alert-notification-settings.mp4')
 *
 *
 * @param video Path to the video starting from frontend/src/assets/videos
 */
export function videoPath(video:string):string {
  return `${globalThis.__webpack_public_path__}assets/videos/${video}`;
}