Sha256: 91aec007341d6d4466a6762071d2f93c10033828e96bc4b0903ebfff128e709f

Contents?: true

Size: 698 Bytes

Versions: 6

Compression:

Stored size: 698 Bytes

Contents

# frozen_string_literal: true

##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
WhatWeb::Plugin.define "Vimeo" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-04-22
  @version = "0.1"
  @description = "Vimeo.com video player"
  @website = "http://vimeo.com/"

  # Matches #
  @matches = [

    # param|embed|object Source
    { regexp: /<(param|object|embed) [^>]+vimeo\.com\/moogaloop/i },

    # iframe
    { regexp: /<iframe [^>]*src=['"]https?:\/\/player\.vimeo\.com\/video\// },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/vimeo.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/vimeo.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/vimeo.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/vimeo.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/vimeo.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/vimeo.rb