lib/onebox.rb in onebox-2.2.5 vs lib/onebox.rb in onebox-2.2.6
- old
+ new
@@ -19,11 +19,10 @@
max_download_kb: (10 * 1024), # 10MB
load_paths: [File.join(Gem::Specification.find_by_name("onebox").gem_dir, "templates")],
allowed_ports: [80, 443],
allowed_schemes: ["http", "https"],
sanitize_config: Sanitize::Config::ONEBOX,
- redirect_limit: 5,
- disable_media_download_controls: false
+ redirect_limit: 5
}
@@options = DEFAULTS
def self.preview(url, options = Onebox.options)