mirror of
https://github.com/videojs/video.js.git
synced 2025-04-13 11:50:49 +02:00
use SWF grunt build project. Update gruntfile for dist task to use packaged SWF. Updated sandbox for reference to SWF.
This commit is contained in:
parent
a106924e6d
commit
0dae44988e
@ -275,7 +275,7 @@ module.exports = function(grunt) {
|
|||||||
grunt.file.copy('build/files/combined.video.js', 'dist/video-js/video.dev.js');
|
grunt.file.copy('build/files/combined.video.js', 'dist/video-js/video.dev.js');
|
||||||
grunt.file.copy('build/files/video-js.css', 'dist/video-js/video-js.css');
|
grunt.file.copy('build/files/video-js.css', 'dist/video-js/video-js.css');
|
||||||
grunt.file.copy('build/files/video-js.min.css', 'dist/video-js/video-js.min.css');
|
grunt.file.copy('build/files/video-js.min.css', 'dist/video-js/video-js.min.css');
|
||||||
grunt.file.copy('build/files/video-js.swf', 'dist/video-js/video-js.swf');
|
grunt.file.copy('node_modules/videojs-swf/dist/VideoJS.swf', 'dist/video-js/video-js.swf');
|
||||||
grunt.file.copy('build/demo-files/demo.html', 'dist/video-js/demo.html');
|
grunt.file.copy('build/demo-files/demo.html', 'dist/video-js/demo.html');
|
||||||
grunt.file.copy('build/demo-files/demo.captions.vtt', 'dist/video-js/demo.captions.vtt');
|
grunt.file.copy('build/demo-files/demo.captions.vtt', 'dist/video-js/demo.captions.vtt');
|
||||||
|
|
||||||
@ -291,7 +291,7 @@ module.exports = function(grunt) {
|
|||||||
// Minified version only, doesn't need demo files
|
// Minified version only, doesn't need demo files
|
||||||
grunt.file.copy('build/files/minified.video.js', 'dist/cdn/video.js');
|
grunt.file.copy('build/files/minified.video.js', 'dist/cdn/video.js');
|
||||||
grunt.file.copy('build/files/video-js.min.css', 'dist/cdn/video-js.css');
|
grunt.file.copy('build/files/video-js.min.css', 'dist/cdn/video-js.css');
|
||||||
grunt.file.copy('build/files/video-js.swf', 'dist/cdn/video-js.swf');
|
grunt.file.copy('node_modules/videojs-swf/dist/VideoJS.swf', 'dist/cdn/video-js.swf');
|
||||||
grunt.file.copy('build/demo-files/demo.captions.vtt', 'dist/cdn/demo.captions.vtt');
|
grunt.file.copy('build/demo-files/demo.captions.vtt', 'dist/cdn/demo.captions.vtt');
|
||||||
grunt.file.copy('build/demo-files/demo.html', 'dist/cdn/demo.html');
|
grunt.file.copy('build/demo-files/demo.html', 'dist/cdn/demo.html');
|
||||||
|
|
||||||
|
@ -37,7 +37,8 @@
|
|||||||
"grunt-karma": "~0.4.4",
|
"grunt-karma": "~0.4.4",
|
||||||
"karma-qunit": "~0.0.2",
|
"karma-qunit": "~0.0.2",
|
||||||
"videojs-doc-generator": "0.0.1",
|
"videojs-doc-generator": "0.0.1",
|
||||||
"qunitjs": "~1.12.0"
|
"qunitjs": "~1.12.0",
|
||||||
|
"video-js-swf": "git://github.com/videojs/video-js-swf.git#feature/grunt-build"
|
||||||
},
|
},
|
||||||
"testling": {
|
"testling": {
|
||||||
"browsers": [
|
"browsers": [
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<!-- Set the location of the flash SWF -->
|
<!-- Set the location of the flash SWF -->
|
||||||
<script>
|
<script>
|
||||||
vjs.options.flash.swf = '../src/swf/video-js.swf'
|
vjs.options.flash.swf = '../node_modules/videojs-swf/dist/VideoJS.swf'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user