Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dominikangerer/videojs-vimeo
Video JS Vimeo - Hard Fork - So we can add a bugfix for some timeout issue if used with multiple time.
https://github.com/dominikangerer/videojs-vimeo
Last synced: about 2 months ago
JSON representation
Video JS Vimeo - Hard Fork - So we can add a bugfix for some timeout issue if used with multiple time.
- Host: GitHub
- URL: https://github.com/dominikangerer/videojs-vimeo
- Owner: DominikAngerer
- License: mit
- Created: 2016-10-28T06:39:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-16T07:10:48.000Z (over 7 years ago)
- Last Synced: 2024-10-14T06:37:38.959Z (2 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 8
- Watchers: 1
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vimeo Playback Technology
for [Video.js](https://github.com/videojs/video.js)## Install
You can use bower npm (`npm install videojs-vimeo-v2`) or the source and build it using `npm run build`. Then, the only file you need is dist/Vimeo.min.js.## Version Note
Use branch `vjs4` if you still using old VideoJS `v4.x`.## Example
```html
```
See the examples folder for more
## How does it work?
Including the script Vimeo.min.js will add the Vimeo as a tech. You just have to add it to your techOrder option. Then, you add the option src with your Vimeo URL.It supports:
- vimeo.com as well as youtu.be
- Regular URLs: https://vimeo.com/153979733## Options
It supports every regular Video.js options. Additionally, you can change any [Vimeo parameter](https://developers.google.com/vimeo/player_parameters?hl=en#Parameters). Here is an example of setting the `iv_load_policy` parameter to `1`.```html
```
### Vimeo controls
Because `controls` is already a Video.js option, to use the Vimeo controls, you must set the `ytControls` parameter.```html
```
##Special Thank You
Thanks to Steve Heffernan for the amazing Video.js and to John Hurliman for the original version of the Vimeo tech## License
The MIT License (MIT)Copyright (c) 2014-2015 Benoit Tremblay
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.