Sha256: 211c829eaf0588c0e3d9b94e48365ec7c5410b69dcc1d89e0fdf2e1ea60fda8d

Contents?: true

Size: 466 Bytes

Versions: 41

Compression:

Stored size: 466 Bytes

Contents

#
# vimeo.rb - insert some services of vimeo.com
#
# Copyright (C) 2011, Kiwamu Okabe <kiwamu@debian.or.jp>.
# You can redistribute it and/or modify it under GPL2.
#

def vimeo( id )
	if feed? then
		return %Q|<a href="http://vimeo.com/#{id}">Link to vimeo ##{id}</a></p><p>|
	end

	%Q|<iframe src="http://player.vimeo.com/video/#{id}?title=0&amp;byline=0&amp;portrait=0" width="400" height="300" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>|
end

Version data entries

41 entries across 35 versions & 2 rubygems

Version Path
tdiary-contrib-5.3.0 plugin/vimeo.rb
tdiary-contrib-5.2.4 plugin/vimeo.rb
tdiary-contrib-5.2.3 plugin/vimeo.rb
tdiary-contrib-5.2.2 plugin/vimeo.rb
tdiary-contrib-5.2.1 plugin/vimeo.rb
tdiary-contrib-5.2.0 plugin/vimeo.rb
tdiary-contrib-5.1.7 plugin/vimeo.rb
tdiary-contrib-5.1.6 plugin/vimeo.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/plugin/vimeo.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/bundler/gems/tdiary-contrib-d1e41204db13/plugin/vimeo.rb
tdiary-contrib-5.1.5 plugin/vimeo.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/plugin/vimeo.rb
tdiary-contrib-5.1.4 plugin/vimeo.rb
tdiary-contrib-5.1.3 plugin/vimeo.rb
tdiary-contrib-5.1.2 plugin/vimeo.rb
tdiary-contrib-5.1.1 plugin/vimeo.rb
tdiary-contrib-5.1.0 plugin/vimeo.rb
tdiary-contrib-5.0.13 plugin/vimeo.rb
tdiary-contrib-5.0.12 plugin/vimeo.rb
tdiary-contrib-5.0.11 plugin/vimeo.rb