module Youtube

Constants

EMBED_ID_REGEX

Public Class Methods

embed_url(id) click to toggle source
# File lib/acts_as_video/hosts/youtube.rb, line 4
def self.embed_url(id)
  "http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3D#{id}&format=json"
end