1.0.3 • Published 6 years ago

vue-vid-grid v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

vue-video-grid

A Vue.js component for displaying an iframe video grid while keeping the original aspect ratio.

Currently under development.

Installation

npm i --save-dev vue-video-grid

Browser

Include the script file, then install the component with Vue.use(VideoGrid); e.g.:

<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/vue-clock-simple/dist/vue-video-grid.min.js"></script>
<script type="text/javascript">
  Vue.use(VideoGrid);
</script>

Module

import VideoGrid from "video-grid";

Usage

Once installed, it can be used in a template as simply as:

<video-grid :embedMedia="['iframe', 'iframe']" :itemPercentage="96"></video-grid>