veams-component-video

5.1.0 • Public • Published

npm version Gitter Chat

Video

Description

A video component supporting WebM, MP4 and Subtitles.


Installation

Installation with Veams

veams install vc video


Fields

Settings

  • settings.videoContextClass {String} [default] - Context class of component.
  • settings.videoClasses {String} - Modifier classes for component.
  • settings.videoOptions {String} - Apply multiple options as string.

Content

  • 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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i veams-component-video

      Weekly Downloads

      12

      Version

      5.1.0

      License

      MIT

      Last publish

      Collaborators

      • andy-gutsche
      • sebastian-fitzner