Terrastories / terrastories

Terrastories is a geostorytelling application for mapping, managing and sharing place-based stories.
https://terrastories.app
MIT License
319 stars 157 forks source link

[Rails] Implement file size compression for media attachments #806

Closed rudokemper closed 1 year ago

rudokemper commented 2 years ago

Currently, media attachments (images, audio, video) that are uploaded to Terrastories are stored in the original filesize. Yet, these assets are only rendered on the front end in a relatively small size; the videos can be maximized to full screen, but are generally only viewed via standard computer monitors or smartphone devices. Ideally, these should be optimized for the web - in the current storage setup, they are taking up unnecessary storage space, and increase the load of bandwidth streaming, potentially causing performance issues.

rudokemper commented 2 years ago

There could be some resources to look into here: https://www.railsjazz.com/

ashwini-seshadri commented 2 years ago

Hi, I would like to work on this issue as well!

rudokemper commented 2 years ago

Hi @ashwini-seshadri! I assigned you :)

ashwini-seshadri commented 2 years ago

Hi, just an FYI, I have started to work on this issue!

rudokemper commented 1 year ago

@ashwini-seshadri hello! Just checking in to see if you were still interested. Let me know and I will reassign you.

ashwini-seshadri commented 1 year ago

@rudokemper Hello! I apologise, was a bit caught up. I am still interested in working on this issue and would like to submit a PR soon. Thank you!

rudokemper commented 1 year ago

Awesome! Thanks @ashwini-seshadri :)