/zvp

ZVP is a zoomable video player with YouTube-like UI for your Angular applications.

Primary LanguageTypeScript

ZVP - Zoomable Video Player ( Angular 10+ )

ZVP is a zoomable video player with YouTube-like UI for your Angular applications.
DEMO


ZVP_preview


Installation

npm install zvp

And import into your NgModule.

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { ZvpModule } from 'zvp';
​
@NgModule({
  imports: [ZvpModule],
})

Usage

Add this code to a view-template.
( ZVP currently allows only one player per a view-template. Will figure it out sooner or later. )

<div style="width: 1000px; height: 100%">
  <zvp-component
    [options]="{
      sources: [
        { src: '$url', type: '$videoType' }
      ]
    }"
  ></zvp-component>
</div>

ZVP is the wrapper player of Video.js. To see more clearly about options above, go visit this page.


License

MIT Licence

Copyright (c) 2020 NkiHrk

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.