Socket
Socket
Sign inDemoInstall

@codameio/videogular2

Package Overview
Dependencies
4
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @codameio/videogular2

Videogular is a video application framework for desktop and mobile powered by Angular


Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Install size
2.81 MB
Created
Weekly downloads
 

Readme

Source

Videogular

Github Actions Gitter Greenkeeper badge

Videogular is an HTML5 video player for Angular 2.0. Videogular is a wrapper over the HTML5 video tag, so you can just add whatever you want. This provides a very powerful, but simple to use solution, for everybody.

You can see a demo here: https://videogular.github.io/videogular2-showroom/#/

Documentation: https://videogular.github.io/videogular2

How to install

This is a fork of videogular2, so installation might be a little different than original repo.

Installation

npm install @codameio/videogular2

Usage

import styles

// global.scss
@import "~@codameio/videogular2/fonts/videogular.css";

import modules

// module.ts
import {
  VgCoreModule,
  VgControlsModule,
  VgOverlayPlayModule,
  VgBufferingModule
} from '@codameio/videogular2';

@NgModule({
  imports: [
    ...
    VgCoreModule,
    VgControlsModule,
    VgOverlayPlayModule,
    VgBufferingModule
  ],

in the template

// component.html
<vg-player>
  <video [vgMedia]="media" #media id="singleVideo" preload="auto" controls>
      <source src="http://static.videogular.com/assets/videos/videogular.mp4" type="video/mp4">
  </video>
</vg-player>

NPM commands

Run start to compile the project, execute tests and check coverage:

npm start

Run build to compile the project:

npm run build

Run test to test the project:

npm test

Run coverage to check the coverage report:

npm run coverage

To start the example app run the following commands and open http://localhost:8080:

cd examples
npm install
npm run build
npm start

Quick template

Stackblitz Template

Supported by

Videogular wants to thank you to this companies for support this project:

Credits

Videogular is a project created by Raúl Jiménez and released under MIT license.

This project would not be possible without our team members and an amazing community,

Keywords

FAQs

Last updated on 05 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc