1.2.0 • Published 8 years ago

deku-vimeo-video v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

deku-vimeo-video

Vimeo video component for deku.

Usage

npm install deku-vimeo-video
import VimeoVideo from 'deku-vimeo-video';

export default {
  render: function () {
    return <VimeoVideo vimeoId='156236882'/>;
  }
}

Attributes

  • vimeoId=[vimeo-video-id] - Set vimeo video ID to use.
  • onClick=[function] - Optional Function to run when video is clicked on.
  • loaded=[boolean] - Optional Show video thumbnail image if false, otherwise load actual video embed. Defaults to true.
  • autoplay=[boolean] - Optional Set autoplay on the embed. Defaults to false.
  • thumbnailSrc=[string] - Optional Set thumbnail image URL.

index.css

Import css using postcss.

@import 'deku-vimeo-video';
1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.0.0

8 years ago