Sha256: 250fdaf10134f747bdafe7283c05a99aa3aa336e30d06aa3608d9c806cb62c9c
Contents?: true
Size: 625 Bytes
Versions: 11
Compression:
Stored size: 625 Bytes
Contents
# # ustream.rb - insert some services of Ustream.tv # # Copyright (C) 2010, TADA Tadashi <t@tdtds.jp>. # You can redistribute it and/or modify it under GPL2. # def ustream( id, type = :recorded ) if type == :live then return '' end # insert recorded video if @conf.mobile_agent? or @conf.iphone? or feed? then return %Q|<a href="http://www.ustream.tv/recorded/#{id}">Link to Ustream ##{id}</a></p><p>| end %Q|<iframe class="ustream" width="480" height="302" src="http://www.ustream.tv/embed/recorded/#{id}?v=3&wmode=direct" scrolling="no" frameborder="0" style="border: 0px none transparent;"></iframe>| end
Version data entries
11 entries across 11 versions & 1 rubygems