Class: Vime::Providers::Youtube
- Inherits:
-
Core::Embed
- Object
- ViewComponent::Base
- Component
- Core::Embed
- Vime::Providers::Youtube
- Defined in:
- app/components/vime/providers/youtube.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'app/components/vime/providers/youtube.rb', line 13 def call content_tag "vm-youtube", nil, process_attrs(dom_attrs) end |
#dom_attrs ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'app/components/vime/providers/youtube.rb', line 17 def dom_attrs super.merge({ cookies: , poster: poster, show_fullscreen_control: show_fullscreen_control, video_id: video_id, }) end |