Giter VIP home page Giter VIP logo

paper-video's Introduction

##<paper-video>

paper-video is a material design styled video player. It contains a video placed in the top and controls in the bottom. User can fully customize the controllers and the events.

Live Example

##Installing with Bower

To install the component with the Bower, just run:

bower install --save paper-video

Example:

<link href="path/to/paper-video/paper-video.html" rel="import">

<paper-video class="custom" controls src="demo.mp4"></paper-video>

Styling

The following custom properties and mixins are available for styling:

Custom property Description Default
--paper-video-controls-background The background color of controllers white
--paper-video-controls-color The text and icons color of controllers #595959
--paper-video-ripple-color The ripple color for all taps on the container --paper-video-controls-color
--paper-video-slider-color The timeline and volume sliders color #3367D6

###<paper-video> - Properties

The following properties are available:

Property Name Description Default
autoplay Playing the video when it's loaded false
autohide-controls Delay of inactivity (ms) after which the controls fade out โ€” 0 deactivates. 1000
controls Enable/Disable the controls false
loop Playing the video again if it's ended false
muted Sets video to muted mode false
preload Loading the video, when the page loads ''
video-volume Sets video volume 100

paper-video's People

Contributors

dreammmr avatar flamparski avatar ccjmne avatar emielbeinema avatar haroenv avatar

Watchers

James Cloos 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.