Class: Vime::Providers::Dailymotion
- Inherits:
-
Core::Embed
- Object
- ViewComponent::Base
- Component
- Core::Embed
- Vime::Providers::Dailymotion
- Defined in:
- app/components/vime/providers/dailymotion.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
18 19 20 |
# File 'app/components/vime/providers/dailymotion.rb', line 18 def call content_tag "vm-dailymotion", nil, process_attrs(dom_attrs) end |
#dom_attrs ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'app/components/vime/providers/dailymotion.rb', line 22 def dom_attrs super.merge({ color: color, poster: poster, should_autoplay_queue: should_autoplay_queue, show_dailymotion_logo: show_dailymotion_logo, show_share_buttons: , show_up_next_queue: show_up_next_queue, show_video_info: show_video_info, syndication: , video_id: video_id, }) end |