sky-video

1.4.1 • Public • Published

sky-video

A Vue component for showing videoes.

List of supported video formats:

  • YouTube
  • Vimeo
  • Dreambroker

Installation

npm install sky-video

or

yarn add sky-video

Usage

Begin by importing and installing the SkyVideo Vue plugin

import Vue from 'vue';
import SkyVideo from 'sky-video';

// If you want to use the baseline scss add the following line
import '${YOUR-PROJECT-ROOT-PATH}/node_modules/sky-video/src/v.scss';

Vue.use(SkyVideo);

<sky-video src="URL" poster="imageURL"></sky-video>

  • src should be a valid Youtube, Vimeo or Dreambroker embed URL.
  • poster is just a URL to an image.

Credits

This module is made by the Frontenders at skybrud.dk. Feel free to use it in any way you want. Feedback, questions and bugreports should be posted as issues. Pull-requests appreciated!

Readme

Keywords

none

Package Sidebar

Install

npm i sky-video

Weekly Downloads

0

Version

1.4.1

License

MIT

Unpacked Size

15 kB

Total Files

14

Last publish

Collaborators

  • semilfred
  • tfjordside
  • ornhoj