This repository has been archived by the owner on Aug 21, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
141 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# 2016-02-24 | ||
|
||
- made this into an actual project now, bower, npm support | ||
- we'll call this 1.0 | ||
|
||
# 2016-02-24 | ||
|
||
- @miguelgrinberg added support for VideoJS 5.X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/*global module:false*/ | ||
module.exports = function(grunt) { | ||
|
||
// Project configuration. | ||
grunt.initConfig({ | ||
// Metadata. | ||
pkg: grunt.file.readJSON('package.json'), | ||
banner: '/*! <%= pkg.title || pkg.name %> v<%= pkg.version %>\n' + | ||
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' + | ||
'* Copyright (c) Eric Rasche 2015-<%= grunt.template.today("yyyy") %>' + | ||
' - Licensed <%= pkg.license %> */\n', | ||
// Task configuration. | ||
concat: { | ||
options: { | ||
banner: '<%= banner %>', | ||
stripBanners: true | ||
}, | ||
dist: { | ||
src: ['<%= pkg.main %>'], | ||
dest: 'dist/<%= pkg.main %>' | ||
} | ||
}, | ||
uglify: { | ||
options: { | ||
banner: '<%= banner %>' | ||
}, | ||
dist: { | ||
src: '<%= concat.dist.dest %>', | ||
dest: 'dist/videojs.framebyframe.min.js' | ||
} | ||
}, | ||
jshint: { | ||
src: { | ||
options: { | ||
jshintrc: '.jshintrc' | ||
}, | ||
src: ['<%= pkg.main %>'] | ||
}, | ||
}, | ||
jscs: { | ||
src: ['<%= concat.dist.src %>'], | ||
options: { | ||
config: '.jscsrc', | ||
esnext: false, // If you use ES6 http://jscs.info/overview.html#esnext | ||
verbose: true, // If you need output with rule names http://jscs.info/overview.html#verbose | ||
fix: false, // Autofix code style violations when possible. | ||
requireCurlyBraces: [ "if" ] | ||
} | ||
}, | ||
watch: { | ||
gruntfile: { | ||
files: '<%= jshint.gruntfile.src %>', | ||
tasks: ['jshint:gruntfile'] | ||
} | ||
} | ||
}); | ||
|
||
// These plugins provide necessary tasks. | ||
grunt.loadNpmTasks('grunt-contrib-concat'); | ||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-jscs'); | ||
|
||
// Default task. | ||
grunt.registerTask('default', ['jshint', 'jscs', 'concat', 'uglify']); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "videojs-framebyframe", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/erasche/videojs-framebyframe", | ||
"description": "video.js plugin that allows users to step frame-by-frame through a video.", | ||
"main": "videojs.framebyframe.js", | ||
"keywords": [ | ||
"video", | ||
"videojs", | ||
"videojs-plugin" | ||
], | ||
"license": "GPL3", | ||
"ignore": [ | ||
".gitignore", | ||
"node_modules", | ||
"bower_components", | ||
"README.md", | ||
"CHANGELOG.md", | ||
"examples" | ||
], | ||
"dependencies": { | ||
"video.js": ">=5.3.0", | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "videojs-framebyframe", | ||
"version": "1.0.0", | ||
"description": "video.js plugin that allows users to step frame-by-frame through a video.", | ||
"main": "videojs.framebyframe.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/erasche/videojs-framebyframe.git" | ||
}, | ||
"scripts": { | ||
"test": "echo No tests yet!" | ||
}, | ||
"keywords": [ | ||
"video", | ||
"videojs", | ||
"videojs-plugin" | ||
], | ||
"dependencies": { | ||
"video.js": ">=5.3.0" | ||
}, | ||
"devDependencies": { | ||
"grunt": ">=0.4.5", | ||
"grunt-contrib-concat": ">=0.4.0", | ||
"grunt-contrib-jshint": ">=0.10.0", | ||
"grunt-contrib-uglify": ">=0.5.0", | ||
"grunt-contrib-watch": ">=0.6.1", | ||
"grunt-jscs": "^2.7.0" | ||
}, | ||
"author": "Eric Rasche", | ||
"license": "GPL3", | ||
"readmeFilename": "README.md", | ||
"bugs": { | ||
"url": "https://github.com/erasche/videojs-framebyframe/issues" | ||
}, | ||
"homepage": "https://github.com/erasche/videojs-framebyframe" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters