adaptlearning / adapt_authoring

A server-based user interface for authoring eLearning courses using the Adapt framework.
https://www.adaptlearning.org/
GNU General Public License v3.0
516 stars 285 forks source link

support for checking assets are properly compressed/sized/encoded #2436

Open moloko opened 5 years ago

moloko commented 5 years ago

Affected Area

Asset management/publishing

Requested Feature

Kineo's rub-cli build tool has a useful (if sadly underused) feature that allows you to set a spec for the project that defines things like:

Use Case

It seems to me like this might be a useful feature to include in the AAT where you might have content authors inexperienced in developing content for the web accidentally including assets that would cause poor course performance for learners.

A user of, say, 'product manager' role (or higher) could therefore define a spec either at global AAT level or at course level (overriding the global spec, if present) that would be checked at some point in the process, either when adding the asset to the course or on publish (or both?), warning the author that the asset doesn't meet the spec, giving them the opportunity to rectify this (#2435 would be useful here).

Current Workaround

Manual checking of course output is the only way to check this at the moment.

Additional Information

https://github.com/cgkineo/rub-cli#tech-spec

moloko commented 5 years ago

this would be particularly useful for anyone developing a course/courses to be used in low-bandwidth environments

taylortom commented 5 years ago

I'd like to even see us go a step further and automate this (i.e. compress all included assets at build). Video encoding is probably the only one that wouldn't fit here.


Update: I now see you already suggested that in https://github.com/adaptlearning/adapt_authoring/issues/2435 😅