Do not autoplay videos, display play button instead. Use expiring links when...
Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also make it private (aka only accessible via expiring links to prevent hotlinking)
Showing
- app/assets/javascripts/components/components/video_player.jsx 8 additions, 1 deletion...assets/javascripts/components/components/video_player.jsx
- app/helpers/atom_builder_helper.rb 2 additions, 4 deletionsapp/helpers/atom_builder_helper.rb
- app/helpers/stream_entries_helper.rb 1 addition, 1 deletionapp/helpers/stream_entries_helper.rb
- app/models/account.rb 2 additions, 2 deletionsapp/models/account.rb
- app/models/media_attachment.rb 1 addition, 1 deletionapp/models/media_attachment.rb
- app/views/accounts/_grid_card.html.haml 1 addition, 1 deletionapp/views/accounts/_grid_card.html.haml
- app/views/accounts/_header.html.haml 2 additions, 2 deletionsapp/views/accounts/_header.html.haml
- app/views/accounts/show.atom.ruby 1 addition, 1 deletionapp/views/accounts/show.atom.ruby
- app/views/api/v1/accounts/show.rabl 2 additions, 2 deletionsapp/views/api/v1/accounts/show.rabl
- app/views/api/v1/media/create.rabl 2 additions, 2 deletionsapp/views/api/v1/media/create.rabl
- app/views/api/v1/statuses/_media.rabl 2 additions, 2 deletionsapp/views/api/v1/statuses/_media.rabl
- app/views/stream_entries/_status.html.haml 1 addition, 1 deletionapp/views/stream_entries/_status.html.haml
- app/views/stream_entries/show.html.haml 1 addition, 1 deletionapp/views/stream_entries/show.html.haml
- config/initializers/paperclip.rb 7 additions, 5 deletionsconfig/initializers/paperclip.rb
- public/avatars/medium/missing.png 0 additions, 0 deletionspublic/avatars/medium/missing.png
- public/avatars/original/missing.png 0 additions, 0 deletionspublic/avatars/original/missing.png
- public/avatars/small/missing.png 0 additions, 0 deletionspublic/avatars/small/missing.png
- spec/helpers/atom_builder_helper_spec.rb 1 addition, 1 deletionspec/helpers/atom_builder_helper_spec.rb
Loading
Please register or sign in to comment