Class: VideoParser::YouKu

Inherits:
VideoSite show all
Defined in:
lib/video_parser/youku.rb

Constant Summary collapse

VideoHost =
"v.youku.com"

Instance Attribute Summary

Attributes inherited from VideoSite

#doc, #uri

Class Method Summary collapse

Methods inherited from VideoSite

#get, #initialize

Methods included from GateWay

#get_doc

Constructor Details

This class inherits a constructor from VideoParser::VideoSite

Class Method Details

.embed_html(video_src) ⇒ Object



7
8
9
10
11
# File 'lib/video_parser/youku.rb', line 7

def self.embed_html(video_src)
  <<-EMBED
    <embed src='#{video_src}' quality='high' width='480' height='400' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash'></embed>
  EMBED
end