added to list, saving in anticipation of upgrade to rails

This commit is contained in:
ablwr 2014-08-03 21:16:28 -04:00
parent f34e7f9596
commit 5366626046
2 changed files with 8 additions and 3 deletions

View File

@ -27,6 +27,9 @@
<ul>
<li>Display info</li>
<li>Export for web</li>
<li>Add subtitles track</li>
<li>Remove audio track</li>
<li>Add audio track</li>
</ul>
</fieldset>
</div>
@ -35,13 +38,13 @@
<div class="well">
<fieldset>
<legend>Input and Output</legend>
<div class="control-group">
<div class="form-group">
<label class="control-label" for="input_name">Input</label>
<div class="controls">
<input type="text" name="input_name" id="input_name" placeholder="input" />
</div>
</div>
<div class="control-group">
<div class="form-group">
<label class="control-label" for="output_name">Output</label>
<div class="controls">
<input type="text" name="output_name" id="output_name" placeholder="output" />

View File

@ -1,7 +1,9 @@
$(document).ready(function() {
$('#generate').click(function(){
$('#command_line').val("ffmpeg " + $('#input_name').val() + " " + $('#output_name').val())
$('#command_line').val("ffmpeg" +
" -i " + $('#input_name').val() +
" -o " + $('#output_name').val())
});
});