I've recently encountered some challenges while working with this gem, particularly in understanding the :time parameter, which was not clearly documented.
Moreover, I faced issues when uploading videos shorter than 3 seconds. After a thorough review and analysis of the source code, I have implemented a fix.
As a solution, I've set the default value to check the video's length and, if it falls outside the :time value, automatically selecting an appropriate frame, preferably the first one.
I've also included a small description of the :time parameter to enhance the documentation.
I've recently encountered some challenges while working with this gem, particularly in understanding the
:time
parameter, which was not clearly documented.Moreover, I faced issues when uploading videos shorter than 3 seconds. After a thorough review and analysis of the source code, I have implemented a fix. As a solution, I've set the default value to check the video's length and, if it falls outside the
:time
value, automatically selecting an appropriate frame, preferably the first one.I've also included a small description of the
:time
parameter to enhance the documentation.