lib/dragonfly-ffmpeg/config.rb in dragonfly-ffmpeg-0.0.3 vs lib/dragonfly-ffmpeg/config.rb in dragonfly-ffmpeg-0.0.4

- old
+ new

@@ -26,9 +26,14 @@ c.analyser.register(Analyser) c.encoder.register(Encoder) do |e| e.output_directory = opts[:output_directory] if opts.has_key?(:output_directory) e.encoder_profiles = opts[:encoder_profiles] if opts.has_key?(:encoder_profiles) end + + c.job :html5 do |format, options| + options = options || {} + encode(format, :html5, options) + end end end end end