Refinery::Videos.configure do |config| #Configures the maximum allowed upload size (in bytes) for an video file #config.max_file_size = 524288000 # Configure how many videos per page should be displayed in the list of images in the admin area #config.pages_per_admin_index = 20 # Configure white-listed mime types for validation #config.whitelisted_mime_types = ["video/mp4", "video/x-flv", "application/ogg", "video/webm", "video/flv", "video/ogg"] # Configure skin. Put css class name to activate skin. For YouTube like skin put tubecss and add css with images to assets path. # config.skin_css_class = vjs-default-skin # Configure Dragonfly # This is where in the middleware stack to insert the Dragonfly middleware # config.dragonfly_insert_before = ActionDispatch::Callbacks # config.dragonfly_secret = ccce0aa2fe521c75f8702f2bae1b04b65ff8198be5ca94f5 # If you decide to trust file extensions replace :ext below with :format # config.dragonfly_url_format = /system/videos/:job/:basename.:format # config.datastore_root_path = /home/haraldei/src/heavymetal.no/web/beta/public/system/refinery/videos # config.trust_file_extensions = false end