Giter VIP home page Giter VIP logo

ember-lazy-video's Introduction

ember-lazy-video

Circle CI

Installation

$ ember install ember-lazy-video

Installation for ember-cli 0.1.5 - 0.2.2

$ ember install:addon ember-lazy-video

ember-lazy-video is a simple component and service that deals with lazy loading of videos from specified providers.

Usage

ember-lazy-video currently supports lazy loading videos from Youtube, Vimeo and Instagram. Usage in your app is as simple as passing the video's url into a lazy-video component:

{{lazy-video url="https://vimeo.com/108532122"}}

{{lazy-video url="https://www.youtube.com/watch?v=sD72LbIk02M"}}

{{lazy-video url="http://instagram.com/p/vXeXAnsieB/"}}

You can add a custom poster image by setting the poster attribute:

{{lazy-video url="https://vimeo.com/108532122" poster="images/poster.jpg"}}

Contribution

Please read the Contributing guidelines for information on how to contribute.

The goal and scope of the component is simple โ€“ be really good at lazy loading videos. This means being able to lazy load videos from any provider. The component should also be customizable to a certain degree: for example, being able to change the play button style/template, or being able to pass in their own thumbnail. Customization does not entail changing the functionality of the component, although it is possible we could abstract this out (in a separate repo) so that it could lazy load any element.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

ember-lazy-video's People

Contributors

colinhoernig avatar dhaulagiri avatar ember-tomster avatar laantorchaweb avatar poteto avatar zeppelin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.