Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yomguithereal/vimeo-srt
A simplistic jQuery plugin to display srt subtitles along with an embedded vimeo video.
https://github.com/yomguithereal/vimeo-srt
Last synced: about 1 month ago
JSON representation
A simplistic jQuery plugin to display srt subtitles along with an embedded vimeo video.
- Host: GitHub
- URL: https://github.com/yomguithereal/vimeo-srt
- Owner: Yomguithereal
- Created: 2013-06-19T21:27:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-04T16:55:45.000Z (almost 11 years ago)
- Last Synced: 2024-05-02T00:56:44.956Z (7 months ago)
- Language: JavaScript
- Size: 256 KB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Vimeo Srt Jquery Plugin
=======================How To
------
Include the jquery.vimeo-srt.min.js and simply call```js
$(your_vimeo_iframe).vimeoSrt({ srt : 'path_to_srt'});
```It will load the subtitle file with ajax, parse it and attach playing events to your video to display subtitles under your iframe in a div with the same id suffixed with _subtitle.
Contributing
------------
Yomguithereal
oscaroteroPlease feel free to contribute. Follow the hereafter directions to set up the dev environment.
```bash
git clone [email protected]:Yomguithereal/vimeo-srt.git
cd vimeo-srt
npm install# If grunt is not yet globally installed, be sure do it thusly:
npm install -g grunt-cli
```
Be sure to pass the linter and uglify the code before submitting any change to the plugin.```bash
grunt
```If you just want to minify the plugin for production yourself.
```bash
grunt uglify
```
Dependencies
------------
jQuery
Froogaloop API