lib/embeddable.rb in embeddable-0.0.5 vs lib/embeddable.rb in embeddable-0.0.6

- old
+ new

@@ -1,7 +1,8 @@ require 'active_support/all' require 'embeddable/version' +require 'embeddable/railtie' if defined?(Rails) module Embeddable extend ActiveSupport::Concern SERVICES = { @@ -17,10 +18,11 @@ ], veoh: [ %r{^https?://(?:www\.)?veoh\.com/watch/([^\?]+)}, ], vippy: [ - %r{https:\/\/vippy.co\/play\/.+\/([^\?\s]+)"} + %r{https:\/\/vippy.co\/play\/.+\/([^\?\s]+)"}, + %r{https:\/\/vippy.co\/play\/flash\/watch\/([^\?]+)} ], liveleak: [ %r{^https?://(?:www\.)?liveleak\.com/view\?i=([^\?]+)}, ] }