Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@veams/component-video

Veams18MIT1.0.1

A video component supporting WebM, MP4 and Subtitles.

veams

readme

npm version Gitter Chat

Video

Description

A video component supporting WebM, MP4 and Subtitles.


Installation

Installation with Veams

veams install component video
veams -i c video

Fields

video.hbs

Settings

Parameter Type Value Description
settings.videoContextClass String default Context class of component.
settings.videoClasses String | Modifier classes for component.
settings.videoOptions String | Apply multiple options as string.

Content

Parameter Type Description
content.videoPoster String Url to a poster image.
content.videoMp4 String Url to mp4 video file.
content.videoWebm String Url to webm video file.
content.videoTrack Object Object which contains tracking data.
content.videoTrack.trackSrc String Url to track file.
content.videoTrack.trackSubtitle String Subtitle.
content.videoTrack.trackLang String Language.
content.videoTrack.trackLabel String Label.

changelog

Namespaced Versions

v1.0.0

  • Migrate to use

    @veams/component


v5.1.0

v5.0.1

  • Rename settings file

v5.0.0

  • Update folder structure to be in sync with latest generator output
  • Remove import snippets from INSERTPOINTS.md

v4.0.0

  • Update insertpoints paths for new folder structure (used in generator-veams v9.x)
  • Unify components folder structure

v3.0.0

  • Update source code to support Veams 5 framework

v2.0.4

  • Update readme
  • Update insertpoints

v2.0.3

  • Update readme

v2.0.2

  • Add getUrl helper

v2.0.1

  • Update insertpoints
  • Update readme

v2.0.0

  • Refactor data structure
  • Add all important notes to readme
  • Exclude Insertpoints into own file
  • Add self-contained option

v1.0.2

  • changed id to tag

v1.0.1

  • fixed @ref tags

v1.0.0

  • initial version