Video info and embedding for YouTube, Vimeo
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
src
tests
.editorconfig
.gitignore
.travis.yml
CONTRIBUTING.md
README.md
nwb.config.js
package.json

README.md

silverscreen

Travis npm package Coveralls

Example

import SilverScreen from 'silverscreen'

typeForVideoURL('https://vimeo.com/165384179')
// => 'vimeo'
 
infoForVideoWithURL('https://vimeo.com/165384179') 
/* =>
{
  "sourceType": "vimeo",
  "videoID": 165384179,
  "url": "https://vimeo.com/165384179",
  "title": "Georgia Dow: Release Notes 2015",
  "publishedDate": "2016-05-04 21:35:32",
  "updatedDate": null,
  "description": "Psychotherapist Georgia Dow explores the psychology of making your customers happy. Every app leaves its user with a feeling. How can you craft your user experience of your product to help ensure that feeling is a positive one? Georgia offers concrete tips on doing exactly that,
   and explores ideas for building a happy community of customers around your apps.",
  "thumbnailImageURL": "https://i.vimeocdn.com/video/569280413_640.jpg"
}
*/

Demo

POST https://silverscreen-0-1-2.now.sh/infoForVideoWithURL { "args": [ "https://vimeo.com/165384179" ] }