Sha256: d63456496e491a0bba957631393819f204432f40ff71177e164b7c9a4a8924fd
Contents?: true
Size: 506 Bytes
Versions: 11
Compression:
Stored size: 506 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 @conf.mobile_agent? or @conf.iphone? or 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&byline=0&portrait=0" width="400" height="300" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>| end
Version data entries
11 entries across 11 versions & 1 rubygems