Media processing, transcoding, display fixes

- Added configurable options
  - Video
    - vp8_quality
    - vp8_threads
    - vorbis_quality
  - Audio
    - spectrogram_fft_size
  - ASCII
    - thumbnail_font
- Cleaned up ascii.asciitoimage
- Cleaned up video.transcoders
- Changed default video quality settings to better quality
- Changed default audio spectrogram solution to the double.
- Added a hacky notice for Firefox users instead of the broken range
  input.
This commit is contained in:
Joar Wandborg
2012-04-09 16:28:46 +02:00
parent d9a31a3980
commit 196a518132
8 changed files with 87 additions and 46 deletions

View File

@@ -210,8 +210,14 @@ var audioPlayer = new Object();
$('<div class="seekbar"></div>').appendTo(im.parent());
$('<div class="audio-control-play-pause paused">▶</div>').appendTo(im.parent());
$('<div class="audio-currentTime">00:00</div>').appendTo(im.parent());
$('<input placeholder="Range input not supported" class="audio-volume"'
+'type="range" min="0" max="1" step="0.01" />').appendTo(im.parent());
if (navigator && /Firefox/.test(navigator.userAgent)) {
$('<p class="message_warning">Sorry, Firefox does not support the '
+ 'range input type, you won\'t be able to change the volume</p>')
.appendTo(im.parent().parent());
} else {
$('<input type="range" class="audio-volume"'
+'value="1" min="0" max="1" step="0.001" />').appendTo(im.parent());
}
$('.audio-spectrogram').trigger('attachedControls');
};
})(audioPlayer);