flowplayer-drive
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -51,5 +51,3 @@ #!/usr/bin/env node | ||
var files = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0]; | ||
var opts = arguments[1]; | ||
var outputEmbedCode = !!opts['embed-code']; | ||
if (!files.length) return usageFlow(); | ||
@@ -67,3 +65,2 @@ readConfiguration().then(function (_ref) { | ||
console.log('Upload complete, video id ' + resp.id); | ||
if (outputEmbedCode) process.stdout.write('<script async src="//flowplayer.org/6/flowplayer.js">{"src":"' + resp.userId + '/' + resp.id + '","controls":true}</script>\n'); | ||
}); | ||
@@ -93,3 +90,2 @@ }); | ||
console.log(' upload <file1> <file2> | upload files to be encoded by Flowplayer Drive'); | ||
console.log(' --embed-code | output embed code for uploaded video'); | ||
console.log(' list | list all videos in Drive library'); | ||
@@ -96,0 +92,0 @@ } |
{ | ||
"name": "flowplayer-drive", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "NPM module and CLI tool for managing videos on Flowplayer Drive", | ||
@@ -44,4 +44,5 @@ "main": "lib/index.js", | ||
"osenv": "^0.1.3", | ||
"qs": "^6.2.1", | ||
"xmldom": "^0.1.22" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36809
9
722
+ Addedqs@^6.2.1
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.6(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedqs@6.13.1(transitive)
+ Addedside-channel@1.1.0(transitive)
+ Addedside-channel-list@1.0.0(transitive)
+ Addedside-channel-map@1.0.1(transitive)
+ Addedside-channel-weakmap@1.0.2(transitive)