Class: VideojsRails::Tags::Video
- Defined in:
- lib/videojs_rails/tags/video.rb
Constant Summary collapse
- DEFAULT_LANGUAGE_KEY =
:default_caption_language
- DEFAULT_OPTIONS =
{ controls: true, preload: :auto }.freeze
Instance Method Summary collapse
-
#initialize(options, &no_js) ⇒ Video
constructor
A new instance of Video.
- #to_html ⇒ Object
Constructor Details
#initialize(options, &no_js) ⇒ Video
Returns a new instance of Video.
10 11 12 13 |
# File 'lib/videojs_rails/tags/video.rb', line 10 def initialize(, &no_js) @no_js = no_js () end |