Class: Tangerine::Player
Instance Attribute Summary collapse
-
#autoplay ⇒ Object
Returns the value of attribute autoplay.
-
#browser_placement ⇒ Object
Returns the value of attribute browser_placement.
-
#embed_code ⇒ Object
Returns the value of attribute embed_code.
-
#height ⇒ Object
Returns the value of attribute height.
-
#hide ⇒ Object
Returns the value of attribute hide.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
Methods inherited from Base
all, find, finder, #initialize, prepare_items
Constructor Details
This class inherits a constructor from Tangerine::Base
Instance Attribute Details
#autoplay ⇒ Object
Returns the value of attribute autoplay.
2 3 4 |
# File 'lib/tangerine/backlot/player.rb', line 2 def autoplay @autoplay end |
#browser_placement ⇒ Object
Returns the value of attribute browser_placement.
2 3 4 |
# File 'lib/tangerine/backlot/player.rb', line 2 def browser_placement @browser_placement end |
#embed_code ⇒ Object
Returns the value of attribute embed_code.
2 3 4 |
# File 'lib/tangerine/backlot/player.rb', line 2 def end |
#height ⇒ Object
Returns the value of attribute height.
2 3 4 |
# File 'lib/tangerine/backlot/player.rb', line 2 def height @height end |
#hide ⇒ Object
Returns the value of attribute hide.
2 3 4 |
# File 'lib/tangerine/backlot/player.rb', line 2 def hide @hide end |
#width ⇒ Object
Returns the value of attribute width.
2 3 4 |
# File 'lib/tangerine/backlot/player.rb', line 2 def width @width end |
Instance Method Details
#render ⇒ Object
9 10 11 |
# File 'lib/tangerine/backlot/player.rb', line 9 def render "http://player.ooyala.com/player.js?width=#{width}&height=#{height}&embedCode=#{embed_code}" end |