Closed rgaudin closed 4 years ago
Instead of building all the UI elements within JS code, we now have a few templates:
Use of the templates allowed to tackle:
as an i18n option from the HTML. Not ideal but good enough until we need more.
i18n
extension one. Makes more sense and required by items with multiple formats. Opens the modal player.
a <video /> or <audio /> tag.
<video />
<audio />
Also:
Instead of building all the UI elements within JS code, we now have a few templates:
Use of the templates allowed to tackle:
13: french strings removed from JS. Only one string remains. It is now passed
as an
i18n
option from the HTML. Not ideal but good enough until we need more.11: if the item has multiple files, display a folder icon instead of first item's
extension one. Makes more sense and required by items with multiple formats. Opens the modal player.
2 audio/video extensions has been added and template now conditionnally displays
a
<video />
or<audio />
tag.Also: