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.0.10 plugin/vimeo.rb
tdiary-contrib-5.0.9 plugin/vimeo.rb
tdiary-contrib-5.0.8 plugin/vimeo.rb
tdiary-contrib-5.0.7 plugin/vimeo.rb
tdiary-contrib-5.0.6 plugin/vimeo.rb
tdiary-contrib-5.0.5 plugin/vimeo.rb
tdiary-5.0.5 vendor/bundle/bundler/gems/tdiary-contrib-a3c5f37278c4/plugin/vimeo.rb
tdiary-5.0.5 vendor/bundle/bundler/gems/tdiary-contrib-8299b30cbf3f/plugin/vimeo.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/bundler/gems/tdiary-contrib-8299b30cbf3f/plugin/vimeo.rb
tdiary-5.0.5 vendor/bundle/bundler/gems/tdiary-contrib-fa9c20aa0d97/plugin/vimeo.rb
tdiary-5.0.5 vendor/bundle/bundler/gems/tdiary-contrib-f08988dfa0f6/plugin/vimeo.rb
tdiary-contrib-5.0.4 plugin/vimeo.rb
tdiary-5.0.4 vendor/bundle/bundler/gems/tdiary-contrib-8299b30cbf3f/plugin/vimeo.rb
tdiary-contrib-5.0.3 plugin/vimeo.rb
tdiary-contrib-5.0.2 plugin/vimeo.rb
tdiary-contrib-5.0.1 plugin/vimeo.rb
tdiary-contrib-5.0.0 plugin/vimeo.rb
tdiary-contrib-4.2.1 plugin/vimeo.rb
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/bundler/gems/tdiary-contrib-2ab36447ae2a/plugin/vimeo.rb
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/bundler/gems/tdiary-contrib-d189eb6688f1/plugin/vimeo.rb