Class: Pageflow::VideoFileUrlTemplates
- Inherits:
-
Object
- Object
- Pageflow::VideoFileUrlTemplates
- Defined in:
- app/models/pageflow/video_file_url_templates.rb
Overview
rubocop:todo Style/Documentation
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'app/models/pageflow/video_file_url_templates.rb', line 3 def call { original: url_template(:attachment, :original), high: url_template(:mp4_high), medium: url_template(:mp4_medium), fullhd: url_template(:mp4_fullhd), '4k': url_template(:mp4_4k), 'hls-playlist': url_template(:hls_playlist), 'hls-playlist-high-and-up': url_template(:hls_playlist_high_and_up), 'dash-playlist': url_template(:dash_playlist), 'dash-playlist-high-and-up': url_template(:dash_playlist_high_and_up), poster_medium: url_template(:poster, :medium), poster_large: url_template(:poster, :large), poster_ultra: url_template(:poster, :ultra), print: url_template(:poster, :print) } end |