Class: VideoParser::SlideShare

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

Constant Summary collapse

VideoHost =
"www.slideshare.net"

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



6
7
8
9
10
11
12
# File 'lib/video_parser/slideshare.rb', line 6

def self.embed_html(video_src )
  <<-EMBED
    <div style='width:425px'>
      <iframe src='#{video_src}' width='425' height='355' frameborder='0' marginwidth='0' marginheight='0' scrolling='no'></iframe>
    </div>
  EMBED
end