{"id":30046690,"url":"https://github.com/interactive-video-labs/interactive-video-angular-wrapper","last_synced_at":"2026-01-20T16:58:12.672Z","repository":{"id":307557986,"uuid":"1029819091","full_name":"interactive-video-labs/interactive-video-angular-wrapper","owner":"interactive-video-labs","description":"⚡ Lightweight Angular component built on top of @interactive-video-labs/core for cue-driven interactive video playback. Fully typed, declarative, and integrates seamlessly into Angular apps using @Input() bindings and @Output() events.","archived":false,"fork":false,"pushed_at":"2025-10-02T13:10:28.000Z","size":1103,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-02T15:10:00.215Z","etag":null,"topics":["angular","angular-15","angular-component","angular-wrapper","cue-points","education-tech","interactive-video","npm-package","typescript","video-interaction","video-player"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@interactive-video-labs/angular","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interactive-video-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-31T16:13:21.000Z","updated_at":"2025-10-02T13:10:28.000Z","dependencies_parsed_at":"2025-07-31T23:22:33.555Z","dependency_job_id":"d52cd376-9d47-4f3c-91b0-b1c15e920f4a","html_url":"https://github.com/interactive-video-labs/interactive-video-angular-wrapper","commit_stats":null,"previous_names":["interactive-video-labs/interactive-video-angular-wrapper"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/interactive-video-labs/interactive-video-angular-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-video-labs%2Finteractive-video-angular-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-video-labs%2Finteractive-video-angular-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-video-labs%2Finteractive-video-angular-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-video-labs%2Finteractive-video-angular-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interactive-video-labs","download_url":"https://codeload.github.com/interactive-video-labs/interactive-video-angular-wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactive-video-labs%2Finteractive-video-angular-wrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000637,"owners_count":26082818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-15","angular-component","angular-wrapper","cue-points","education-tech","interactive-video","npm-package","typescript","video-interaction","video-player"],"created_at":"2025-08-07T08:53:17.186Z","updated_at":"2025-10-08T20:46:17.115Z","avatar_url":"https://github.com/interactive-video-labs.png","language":"TypeScript","readme":"# @interactive-video-labs/angular\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/interactive-video-labs/docs/main/logo.svg\" width=\"200px\" alt=\"Interactive Video Labs Logo\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/@interactive-video-labs/angular\" alt=\"NPM Version\" /\u003e\n  \u003cimg src=\"https://img.shields.io/npm/l/@interactive-video-labs/angular\" alt=\"NPM License\" /\u003e\n  \u003cimg src=\"https://img.shields.io/npm/d18m/@interactive-video-labs/angular?style=flat-square\" alt=\"NPM Downloads\" /\u003e\n  \u003ca href=\"https://github.com/interactive-video-labs/interactive-video-angular-wrapper/actions\"\u003e\n    \u003cimg src=\"https://github.com/interactive-video-labs/interactive-video-angular-wrapper/actions/workflows/release.yml/badge.svg\" alt=\"Build Status\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nWelcome to `@interactive-video-labs/angular` — a lightweight Angular wrapper around the `@interactive-video-labs/core` engine for cue-driven interactive video experiences.\n\nThis wrapper enables seamless integration of interactive video players into Angular applications using idiomatic Angular components and bindings, while staying close to the underlying core engine API.\n\n---\n\n## Table of Contents\n\n- [@interactive-video-labs/angular](#interactive-video-labsangular)\n  - [Table of Contents](#table-of-contents)\n  - [Installation](#installation)\n  - [Usage](#usage)\n    - [Basic Usage](#basic-usage)\n    - [With Cue Points](#with-cue-points)\n    - [With Translations](#with-translations)\n    - [With Analytics Events](#with-analytics-events)\n    - [Mounting to an External Element](#mounting-to-an-external-element)\n  - [API Reference](#api-reference)\n    - [Inputs](#inputs)\n    - [Outputs](#outputs)\n  - [Development](#development)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## Installation\n\nYouTo install the package, use your preferred package manager:\n\n```bash\n# Using pnpm\npnpm add @interactive-video-labs/angular @interactive-video-labs/core\n\n# Using npm\nnpm install @interactive-video-labs/angular @interactive-video-labs/core\n\n# Using yarn\nyarn add @interactive-video-labs/angular @interactive-video-labs/core\n```\n\n## Usage\n\nImport `InteractiveVideoComponent` into your Angular component's `imports` array:\n\n```typescript\nimport { InteractiveVideoComponent } from '@interactive-video-labs/angular';\n\n@Component({\n  selector: 'app-my-component',\n  standalone: true,\n  imports: [InteractiveVideoComponent],\n  template: ` \u003civ-interactive-video videoUrl=\"your-video-url.mp4\"\u003e\u003c/iv-interactive-video\u003e `,\n})\nexport class MyComponent {}\n```\n\n### Basic Usage\n\n```html\n\u003civ-interactive-video videoUrl=\"https://example.com/your-video.mp4\"\u003e\u003c/iv-interactive-video\u003e\n```\n\n### With Cue Points\n\n```typescript\nimport { Component } from '@angular/core';\nimport { InteractiveVideoComponent, CuePoint } from '@interactive-video-labs/angular';\n\n@Component({\n  selector: 'app-cue-point-example',\n  standalone: true,\n  imports: [InteractiveVideoComponent],\n  template: `\n    \u003civ-interactive-video\n      videoUrl=\"https://example.com/video-with-cues.mp4\"\n      [cues]=\"myCues\"\n    \u003e\u003c/iv-interactive-video\u003e\n  `,\n})\nexport class CuePointExampleComponent {\n  myCues: CuePoint[] = [\n    { time: 5, type: 'text', value: 'Hello at 5 seconds!' },\n    { time: 10, type: 'image', value: 'https://example.com/image.png' },\n  ];\n}\n```\n\n### With Translations\n\n```typescript\nimport { Component } from '@angular/core';\nimport { InteractiveVideoComponent, Translations } from '@interactive-video-labs/angular';\n\n@Component({\n  selector: 'app-translation-example',\n  standalone: true,\n  imports: [InteractiveVideoComponent],\n  template: `\n    \u003civ-interactive-video\n      videoUrl=\"https://example.com/video.mp4\"\n      locale=\"es\"\n      [translations]=\"spanishTranslations\"\n    \u003e\u003c/iv-interactive-video\u003e\n  `,\n})\nexport class TranslationExampleComponent {\n  spanishTranslations: Translations = {\n    play: 'Reproducir',\n    pause: 'Pausar',\n    // ... other translations\n  };\n}\n```\n\n### With Analytics Events\n\n```typescript\nimport { Component } from '@angular/core';\nimport {\n  InteractiveVideoComponent,\n  AnalyticsEvent,\n  AnalyticsPayload,\n} from '@interactive-video-labs/angular';\n\n@Component({\n  selector: 'app-analytics-example',\n  standalone: true,\n  imports: [InteractiveVideoComponent],\n  template: `\n    \u003civ-interactive-video\n      videoUrl=\"https://example.com/video.mp4\"\n      (analyticsEvent)=\"handleAnalytics($event)\"\n    \u003e\u003c/iv-interactive-video\u003e\n  `,\n})\nexport class AnalyticsExampleComponent {\n  handleAnalytics(event: [event: AnalyticsEvent, payload?: AnalyticsPayload]): void {\n    const [eventName, payload] = event;\n    console.log(`Analytics Event: ${eventName}`, payload);\n    // Send to your analytics service\n  }\n}\n```\n\n### Mounting to an External Element\n\nYou can mount the player to an existing HTML element by providing its ID to the `targetElementId` input.\n\n```html\n\u003cdiv id=\"my-custom-player-container\" style=\"width: 100%; height: 400px;\"\u003e\u003c/div\u003e\n\u003civ-interactive-video\n  videoUrl=\"https://example.com/video.mp4\"\n  targetElementId=\"my-custom-player-container\"\n\u003e\u003c/iv-interactive-video\u003e\n```\n\n## API Reference\n\n### Inputs\n\n| Name              | Type           | Description                                                          | Default     | Required |\n| :---------------- | :------------- | :------------------------------------------------------------------- | :---------- | :------- |\n| `videoUrl`        | `string`       | The URL of the video to be loaded.                                   | `undefined` | Yes      |\n| `cues`            | `CuePoint[]`   | An array of cue points for interactive events.                       | `undefined` | No       |\n| `translations`    | `Translations` | An object containing translations for the player.                    | `undefined` | No       |\n| `autoplay`        | `boolean`      | Whether the video should start playing automatically.                | `false`     | No       |\n| `loop`            | `boolean`      | Whether the video should loop.                                       | `false`     | No       |\n| `locale`          | `string`       | The locale to be used for the player.                                | `'en'`      | No       |\n| `targetElementId` | `string`       | The ID of an external HTML element where the player will be mounted. | `undefined` | No       |\n\n### Outputs\n\n| Name             | Type                                                                | Description                             |\n| :--------------- | :------------------------------------------------------------------ | :-------------------------------------- |\n| `analyticsEvent` | `EventEmitter\u003c[event: AnalyticsEvent, payload?: AnalyticsPayload]\u003e` | Emits analytics events from the player. |\n\n## Development\n\nFor detailed instructions on setting up your development environment, installing dependencies, running tests, and building the project, please refer to the [DEVELOPER.md](DEVELOPER.md) file.\n\n## Contributing\n\nWe welcome contributions to `@interactive-video-labs/angular`! Please see our [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).engine API.\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractive-video-labs%2Finteractive-video-angular-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finteractive-video-labs%2Finteractive-video-angular-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractive-video-labs%2Finteractive-video-angular-wrapper/lists"}