https://github.com/blad/vimeofallback
Ruby Gem for the fallback url for a Vimeo Video.
https://github.com/blad/vimeofallback
Last synced: 8 months ago
JSON representation
Ruby Gem for the fallback url for a Vimeo Video.
- Host: GitHub
- URL: https://github.com/blad/vimeofallback
- Owner: blad
- License: apache-2.0
- Created: 2014-08-30T19:30:32.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-30T22:27:14.000Z (almost 12 years ago)
- Last Synced: 2025-03-11T10:23:18.748Z (over 1 year ago)
- Language: Ruby
- Homepage: https://rubygems.org/gems/VimeoFallback
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
VimeoFallback
=============
Gem for Fetching Vimeo Video Fallback url.
The fallback url can then be used to download the video asset or for use in other applications as an alternative to embedding the video via an iFrame or via the Vimeo API.
Usage
=====
Install As a Gem:
```
gem install VimeoFallback
```
In Scripts:
```
require 'VimeoFallback'
vimeoVideoID = '103684916'
url = VimeoFallback.new(vimeoVideoID).url
# url = http://player.vimeo.com/play/280695857?s=103684916_1409451108_de7237f446f0881cd47ffb0a1b635f4c&referrer=http%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F103684916%2Ffallback
```
On the Command-line:
```
VimeoFallback 103684916
```